Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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.001726/0.001726, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002116/0.002116, allocations: 209 kB / 24.48 MB, free: 3.938 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.509/1.509, allocations: 230.6 MB / 258.2 MB, free: 7.793 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.2267/0.2267, allocations: 44.93 MB / 359.6 MB, free: 6.043 MB / 286.1 MB " [Timeout remaining time 180] 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.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource1.port_p.reference.gamma|quarterHollowSphere.port_p.reference.gamma",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage") [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.002155/0.002155, allocations: 71.89 kB / 0.4943 GB, free: 10.01 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3441, allocations: 65.47 MB / 0.5582 GB, free: 7.488 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage): time 0.007189/0.3513, allocations: 4.747 MB / 0.5628 GB, free: 2.715 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003579/0.3549, allocations: 1.576 MB / 0.5644 GB, free: 1.129 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006242/0.3555, allocations: 20 kB / 0.5644 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003928/0.3595, allocations: 1.478 MB / 0.5658 GB, free: 15.63 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001291/0.3608, allocations: 317.6 kB / 0.5661 GB, free: 15.32 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001359/0.3621, allocations: 494.6 kB / 0.5666 GB, free: 14.83 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.001288/0.3634, allocations: 0.8123 MB / 0.5674 GB, free: 14.02 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.3646, allocations: 0.6221 MB / 0.568 GB, free: 13.38 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005634/0.3651, allocations: 354.7 kB / 0.5683 GB, free: 13.03 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005499/0.3657, allocations: 410.2 kB / 0.5687 GB, free: 12.63 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001088/0.3658, allocations: 76 kB / 0.5688 GB, free: 12.55 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004895/0.3663, allocations: 191.9 kB / 0.569 GB, free: 12.37 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001568/0.3664, allocations: 175.3 kB / 0.5692 GB, free: 12.2 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003454/0.3668, allocations: 342.4 kB / 0.5695 GB, free: 11.86 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001409/0.3682, allocations: 1.179 MB / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.925e-06/0.3682, allocations: 3.984 kB / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3682, allocations: 0 / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.207e-05/0.3682, allocations: 0 / 0.5706 GB, free: 10.68 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 252 * Number of variables: 252 Notification: Performance of Generate backend data structure: time 0.003453/0.3717, allocations: 1.3 MB / 0.5719 GB, free: 9.344 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.607e-05/0.3717, allocations: 11.98 kB / 0.5719 GB, free: 9.332 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001599/0.3733, allocations: 236.2 kB / 0.5721 GB, free: 9.102 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002656/0.3736, allocations: 198 kB / 0.5723 GB, free: 8.883 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.224e-05/0.3737, allocations: 78.38 kB / 0.5724 GB, free: 8.805 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001588/0.3738, allocations: 112.1 kB / 0.5725 GB, free: 8.695 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.3754, allocations: 0.9321 MB / 0.5734 GB, free: 7.746 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.685e-05/0.3755, allocations: 11.88 kB / 0.5734 GB, free: 7.734 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.894e-05/0.3756, allocations: 40 kB / 0.5735 GB, free: 7.695 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.3756, allocations: 28 kB / 0.5735 GB, free: 7.668 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00136/0.3769, allocations: 0.7144 MB / 0.5742 GB, free: 6.953 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004819/0.3818, allocations: 2.72 MB / 0.5769 GB, free: 4.105 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.3834, allocations: 0.7712 MB / 0.5776 GB, free: 3.316 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004069/0.3838, allocations: 263.4 kB / 0.5779 GB, free: 3.051 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001033/0.3839, allocations: 36.3 kB / 0.5779 GB, free: 3.016 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.24e-05/0.384, allocations: 38.89 kB / 0.5779 GB, free: 2.969 MB / 414.1 MB Notification: Performance of pre-optimization done (n=66): time 2.775e-06/0.384, allocations: 0 / 0.5779 GB, free: 2.969 MB / 414.1 MB Notification: Performance of matching and sorting (n=66): time 0.002718/0.3867, allocations: 1.011 MB / 0.5789 GB, free: 1.941 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.124e-05/0.3868, allocations: 136.5 kB / 0.5791 GB, free: 1.777 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.3872, allocations: 301.6 kB / 0.5793 GB, free: 1.477 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.859e-05/0.3872, allocations: 37.7 kB / 0.5794 GB, free: 1.434 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003005/0.3875, allocations: 415.8 kB / 0.5798 GB, free: 1.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/0.3877, allocations: 241.9 kB / 0.58 GB, free: 0.7812 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.388, allocations: 146.6 kB / 0.5801 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001951/0.3882, allocations: 346.8 kB / 0.5805 GB, free: 292 kB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003829/0.3885, allocations: 205.9 kB / 0.5807 GB, free: 84 kB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005622/0.3891, allocations: 396.6 kB / 0.581 GB, free: 15.61 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009284/0.39, allocations: 0.6259 MB / 0.5817 GB, free: 14.91 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.39, allocations: 3.938 kB / 0.5817 GB, free: 14.9 MB / 430.1 MB Notification: Performance of matching and sorting (n=106) (initialization): time 0.001643/0.3917, allocations: 0.8816 MB / 0.5825 GB, free: 14 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.3917, allocations: 12.03 kB / 0.5825 GB, free: 13.99 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.3917, allocations: 4 kB / 0.5825 GB, free: 13.98 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006753/0.3924, allocations: 223.2 kB / 0.5828 GB, free: 13.75 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005119/0.3929, allocations: 143.7 kB / 0.5829 GB, free: 13.61 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006259/0.3992, allocations: 6.165 MB / 0.5889 GB, free: 7.035 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005617/0.3997, allocations: 83.39 kB / 0.589 GB, free: 6.953 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.605e-05/0.3998, allocations: 32 kB / 0.589 GB, free: 6.922 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 (82): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003441/0.4001, allocations: 221.6 kB / 0.5892 GB, free: 6.695 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.4003, allocations: 47.66 kB / 0.5893 GB, free: 6.648 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.4016, allocations: 0.6834 MB / 0.5899 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.4016, allocations: 4 kB / 0.5899 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.4016, allocations: 8 kB / 0.59 GB, free: 5.934 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.436e-06/0.4016, allocations: 3.984 kB / 0.59 GB, free: 5.93 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002376/0.404, allocations: 1.354 MB / 0.5913 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.404, allocations: 0 / 0.5913 GB, free: 4.527 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002716/0.4043, allocations: 67.91 kB / 0.5913 GB, free: 4.461 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005414/0.4048, allocations: 211.2 kB / 0.5915 GB, free: 4.242 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.4049, allocations: 23.94 kB / 0.5916 GB, free: 4.219 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006215/0.4111, allocations: 6.15 MB / 0.5976 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.4111, allocations: 0 / 0.5976 GB, free: 13.66 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001817/0.4129, allocations: 1.191 MB / 0.5987 GB, free: 12.44 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001196/0.413, allocations: 47.58 kB / 0.5988 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.716e-05/0.4131, allocations: 15.98 kB / 0.5988 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003383/0.4134, allocations: 12.38 kB / 0.5988 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001196/0.4135, allocations: 67.7 kB / 0.5989 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.4136, allocations: 20 kB / 0.5989 GB, free: 12.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002419/0.4138, allocations: 193.2 kB / 0.5991 GB, free: 12.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4138, allocations: 3.938 kB / 0.5991 GB, free: 12.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001011/0.4148, allocations: 279.4 kB / 0.5994 GB, free: 11.81 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (constantSource2.port_p.reference.gamma,constantSource1.port_p.reference.gamma) * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,8,100.0%), (1,8,100.0%), (1,4,100.0%), (1,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0002704/0.4151, allocations: 147.1 kB / 0.5995 GB, free: 11.66 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00167/0.4168, allocations: 1.053 MB / 0.6005 GB, free: 10.56 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.4168, allocations: 0 / 0.6005 GB, free: 10.56 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009457/0.4177, allocations: 0.7482 MB / 0.6012 GB, free: 9.758 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006622/0.4184, allocations: 47.55 kB / 0.6013 GB, free: 9.715 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.4207, allocations: 1.271 MB / 0.6025 GB, free: 8.402 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000387/0.4211, allocations: 318.4 kB / 0.6028 GB, free: 8.062 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001243/0.4212, allocations: 47.42 kB / 0.6029 GB, free: 8.02 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.4212, allocations: 0 / 0.6029 GB, free: 8.02 MB / 446.1 MB Notification: Performance of Templates: time 0.02507/0.4463, allocations: 19.92 MB / 0.6223 GB, free: 4.059 MB / 462.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/NoPhysicalTestLeakage/NoPhysicalTestLeakage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.NoPhysicalTestLeakage.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: 9.323410745710135]