Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001834/0.001834, allocations: 115.8 kB / 20.43 MB, free: 1.449 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 216.6 kB / 23.74 MB, free: 4.656 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.63/1.63, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2539/0.2539, allocations: 44.91 MB / 358.8 MB, free: 6.297 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00234/0.00234, allocations: 71.88 kB / 0.4936 GB, free: 10.25 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4018, allocations: 65.46 MB / 0.5575 GB, free: 7.715 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003413/0.4053, allocations: 1.76 MB / 0.5592 GB, free: 5.992 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001745/0.4054, allocations: 79.73 kB / 0.5593 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.151e-05/0.4055, allocations: 0 / 0.5593 GB, free: 5.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 5.899e-05/0.4055, allocations: 15.86 kB / 0.5593 GB, free: 5.898 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 7.199e-05/0.4056, allocations: 23.78 kB / 0.5593 GB, free: 5.875 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.919e-05/0.4057, allocations: 27.97 kB / 0.5593 GB, free: 5.848 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001646/0.4059, allocations: 111.6 kB / 0.5594 GB, free: 5.738 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/0.406, allocations: 43.95 kB / 0.5595 GB, free: 5.695 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.529e-05/0.4061, allocations: 39.86 kB / 0.5595 GB, free: 5.656 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.884e-05/0.4062, allocations: 55.77 kB / 0.5596 GB, free: 5.602 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.979e-05/0.4062, allocations: 8 kB / 0.5596 GB, free: 5.594 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.4063, allocations: 12 kB / 0.5596 GB, free: 5.582 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 3.995e-05/0.4063, allocations: 31.91 kB / 0.5596 GB, free: 5.551 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.255e-05/0.4064, allocations: 47.73 kB / 0.5597 GB, free: 5.504 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.4065, allocations: 121.9 kB / 0.5598 GB, free: 5.391 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/0.4065, allocations: 0 / 0.5598 GB, free: 5.391 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.4065, allocations: 0 / 0.5598 GB, free: 5.391 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.731e-06/0.4065, allocations: 0 / 0.5598 GB, free: 5.391 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0006402/0.4072, allocations: 348.1 kB / 0.5601 GB, free: 5.02 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.4072, allocations: 12.02 kB / 0.5601 GB, free: 5.008 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.62e-05/0.4073, allocations: 12.89 kB / 0.5601 GB, free: 4.996 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000225/0.4075, allocations: 122.4 kB / 0.5603 GB, free: 4.852 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.415e-05/0.4075, allocations: 16.31 kB / 0.5603 GB, free: 4.836 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.4075, allocations: 8.375 kB / 0.5603 GB, free: 4.828 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003665/0.4079, allocations: 118.2 kB / 0.5604 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.4079, allocations: 192 / 0.5604 GB, free: 4.707 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.4079, allocations: 11.94 kB / 0.5604 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.235e-06/0.4079, allocations: 0 / 0.5604 GB, free: 4.695 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000378/0.4083, allocations: 111.8 kB / 0.5605 GB, free: 4.586 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009055/0.4092, allocations: 438.5 kB / 0.5609 GB, free: 4.105 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002816/0.4095, allocations: 86.47 kB / 0.561 GB, free: 4.012 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002556/0.4098, allocations: 52.94 kB / 0.5611 GB, free: 3.957 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.272e-05/0.4098, allocations: 7.938 kB / 0.5611 GB, free: 3.949 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.4098, allocations: 34.56 kB / 0.5611 GB, free: 3.906 MB / 398.1 MB Notification: Performance of pre-optimization done (n=6): time 9.62e-07/0.4098, allocations: 0 / 0.5611 GB, free: 3.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=6): time 0.0008615/0.4107, allocations: 198.2 kB / 0.5613 GB, free: 3.703 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.873e-05/0.4107, allocations: 51.41 kB / 0.5613 GB, free: 3.641 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001503/0.4109, allocations: 126.2 kB / 0.5615 GB, free: 3.508 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.01e-05/0.4109, allocations: 25.7 kB / 0.5615 GB, free: 3.477 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/0.411, allocations: 112.2 kB / 0.5616 GB, free: 3.359 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.411, allocations: 15.8 kB / 0.5616 GB, free: 3.344 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.481e-05/0.4111, allocations: 17.72 kB / 0.5616 GB, free: 3.32 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002879/0.4114, allocations: 322.8 kB / 0.5619 GB, free: 2.996 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.4115, allocations: 39.97 kB / 0.562 GB, free: 2.957 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.4117, allocations: 54.53 kB / 0.562 GB, free: 2.895 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003068/0.412, allocations: 102.4 kB / 0.5621 GB, free: 2.785 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/0.412, allocations: 3.938 kB / 0.5621 GB, free: 2.781 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003959/0.4124, allocations: 142.4 kB / 0.5623 GB, free: 2.633 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.4124, allocations: 4 kB / 0.5623 GB, free: 2.629 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/0.4124, allocations: 3.984 kB / 0.5623 GB, free: 2.625 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001781/0.4126, allocations: 28.91 kB / 0.5623 GB, free: 2.594 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.4127, allocations: 23.91 kB / 0.5623 GB, free: 2.57 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.4141, allocations: 1.299 MB / 0.5636 GB, free: 1.148 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/0.4142, allocations: 20 kB / 0.5636 GB, free: 1.129 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.117e-06/0.4142, allocations: 7.938 kB / 0.5636 GB, free: 1.121 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001019/0.4143, allocations: 113.8 kB / 0.5637 GB, free: 1 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.134e-05/0.4143, allocations: 11.89 kB / 0.5637 GB, free: 0.9883 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.01e-05/0.4143, allocations: 12.44 kB / 0.5637 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.4143, allocations: 4 kB / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.455e-06/0.4143, allocations: 0 / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.4143, allocations: 0 / 0.5637 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006758/0.415, allocations: 391.1 kB / 0.5641 GB, free: 0.5352 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.415, allocations: 8.031 kB / 0.5641 GB, free: 0.5273 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.837e-05/0.4151, allocations: 15.97 kB / 0.5641 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.095e-05/0.4152, allocations: 28.97 kB / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.4152, allocations: 0 / 0.5642 GB, free: 492 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001076/0.4163, allocations: 1.295 MB / 0.5654 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.4163, allocations: 3.984 kB / 0.5654 GB, free: 15.07 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004395/0.4167, allocations: 245.2 kB / 0.5657 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.4167, allocations: 11.95 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.015e-05/0.4167, allocations: 0 / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001126/0.4169, allocations: 11.98 kB / 0.5657 GB, free: 14.79 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.4169, allocations: 7.984 kB / 0.5657 GB, free: 14.78 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.541e-05/0.4169, allocations: 4 kB / 0.5657 GB, free: 14.77 MB / 414.1 MB Notification: Performance of sorting global known variables: time 7.234e-05/0.417, allocations: 103.2 kB / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of sort global known variables: time 6.1e-08/0.417, allocations: 0 / 0.5658 GB, free: 14.67 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002657/0.4173, allocations: 35.83 kB / 0.5658 GB, free: 14.64 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001173/0.4174, allocations: 96.88 kB / 0.5659 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005137/0.4179, allocations: 210.7 kB / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.4179, allocations: 0 / 0.5661 GB, free: 14.32 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002786/0.4182, allocations: 158.6 kB / 0.5663 GB, free: 14.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003113/0.4185, allocations: 3.984 kB / 0.5663 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004568/0.4189, allocations: 217.3 kB / 0.5665 GB, free: 13.9 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/0.4193, allocations: 0.7002 MB / 0.5672 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 3.155e-05/0.4193, allocations: 3.75 kB / 0.5672 GB, free: 13.17 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.242e-05/0.4193, allocations: 19.38 kB / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4193, allocations: 4 kB / 0.5672 GB, free: 13.15 MB / 414.1 MB Notification: Performance of Templates: time 0.004098/0.4234, allocations: 1.148 MB / 0.5683 GB, free: 12 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.520326960133389]