Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001657/0.001657, allocations: 114 kB / 21.18 MB, free: 0.7422 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002135/0.002135, allocations: 214.1 kB / 24.48 MB, free: 4.191 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 230.2 MB / 257.8 MB, free: 8.492 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2288/0.2288, allocations: 46.88 MB / 361.1 MB, free: 4.629 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4666,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002332/0.002332, allocations: 79.88 kB / 0.4968 GB, free: 8.383 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3084/0.3107, allocations: 65.97 MB / 0.5612 GB, free: 34.53 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.003503/0.3142, allocations: 3.556 MB / 0.5647 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001031/0.3152, allocations: 0.8304 MB / 0.5655 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001545/0.3154, allocations: 9.188 kB / 0.5655 GB, free: 31.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001629/0.3156, allocations: 77.16 kB / 0.5655 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.3158, allocations: 133.8 kB / 0.5657 GB, free: 31.32 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002821/0.316, allocations: 127.8 kB / 0.5658 GB, free: 31.25 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003427/0.3164, allocations: 0.5276 MB / 0.5663 GB, free: 30.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002282/0.3166, allocations: 178.3 kB / 0.5665 GB, free: 30.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001558/0.3168, allocations: 211.1 kB / 0.5667 GB, free: 30.78 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002165/0.317, allocations: 232.4 kB / 0.5669 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 5.763e-05/0.317, allocations: 48 kB / 0.567 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.865e-05/0.3171, allocations: 48.19 kB / 0.567 GB, free: 30.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.559e-05/0.3172, allocations: 114 kB / 0.5671 GB, free: 30.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001489/0.3173, allocations: 243.5 kB / 0.5673 GB, free: 30.44 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004089/0.3177, allocations: 0.5668 MB / 0.5679 GB, free: 30.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3177, allocations: 3.812 kB / 0.5679 GB, free: 30.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.233e-06/0.3177, allocations: 0 / 0.5679 GB, free: 30.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.3177, allocations: 0.5938 kB / 0.5679 GB, free: 30.2 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 118 * Number of variables: 118 Notification: Performance of Generate backend data structure: time 0.001102/0.3188, allocations: 0.7689 MB / 0.5686 GB, free: 29.62 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.236e-05/0.3189, allocations: 7.812 kB / 0.5687 GB, free: 29.62 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.787e-05/0.319, allocations: 55.7 kB / 0.5687 GB, free: 29.59 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003119/0.3193, allocations: 313.9 kB / 0.569 GB, free: 29.31 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.633e-05/0.3193, allocations: 42.28 kB / 0.569 GB, free: 29.3 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.119e-05/0.3193, allocations: 46.25 kB / 0.5691 GB, free: 29.28 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006437/0.32, allocations: 466.8 kB / 0.5695 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.32, allocations: 0 / 0.5695 GB, free: 29.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.494e-05/0.32, allocations: 15.31 kB / 0.5696 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.877e-06/0.32, allocations: 13.47 kB / 0.5696 GB, free: 29.05 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006242/0.3207, allocations: 324.7 kB / 0.5699 GB, free: 28.95 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001848/0.3225, allocations: 1.68 MB / 0.5715 GB, free: 27.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.323, allocations: 222.6 kB / 0.5717 GB, free: 27.68 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.3233, allocations: 132.1 kB / 0.5719 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.3233, allocations: 5.844 kB / 0.5719 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.705e-05/0.3233, allocations: 38.81 kB / 0.5719 GB, free: 27.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=26): time 1.382e-06/0.3233, allocations: 0 / 0.5719 GB, free: 27.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.002716/0.3261, allocations: 1.354 MB / 0.5732 GB, free: 26.65 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.799e-05/0.3261, allocations: 83.77 kB / 0.5733 GB, free: 26.55 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002618/0.3263, allocations: 266.8 kB / 0.5736 GB, free: 26.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.408e-05/0.3264, allocations: 31.08 kB / 0.5736 GB, free: 26.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001183/0.3265, allocations: 263.4 kB / 0.5738 GB, free: 26.14 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.879e-05/0.3266, allocations: 129.2 kB / 0.574 GB, free: 26.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/0.3267, allocations: 80.88 kB / 0.574 GB, free: 25.99 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.984e-05/0.3267, allocations: 343.2 kB / 0.5744 GB, free: 25.66 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.327, allocations: 109 kB / 0.5745 GB, free: 25.62 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003085/0.3273, allocations: 212.7 kB / 0.5747 GB, free: 25.46 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005381/0.3279, allocations: 342 kB / 0.575 GB, free: 25.23 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.3279, allocations: 0 / 0.575 GB, free: 25.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0007713/0.3286, allocations: 422.7 kB / 0.5754 GB, free: 25.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.524e-05/0.3287, allocations: 8 kB / 0.5754 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3287, allocations: 4.328 kB / 0.5754 GB, free: 25.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001353/0.3288, allocations: 29.86 kB / 0.5754 GB, free: 25.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004539/0.3293, allocations: 118 kB / 0.5756 GB, free: 25.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007698/0.33, allocations: 1.448 MB / 0.577 GB, free: 23.57 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.3303, allocations: 23.45 kB / 0.577 GB, free: 23.56 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.633e-05/0.3303, allocations: 21.66 kB / 0.577 GB, free: 23.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (51): * Single equations (assignments): 50 * 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.0001399/0.3304, allocations: 162.1 kB / 0.5772 GB, free: 23.4 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.924e-05/0.3305, allocations: 31.31 kB / 0.5772 GB, free: 23.39 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.156e-05/0.3306, allocations: 35.47 kB / 0.5772 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.3306, allocations: 2.578 kB / 0.5772 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.3306, allocations: 1.656 kB / 0.5772 GB, free: 23.36 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.529e-05/0.3307, allocations: 124.9 kB / 0.5773 GB, free: 23.24 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.87e-05/0.3307, allocations: 10.44 kB / 0.5774 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/0.331, allocations: 18 kB / 0.5774 GB, free: 23.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.572e-05/0.3311, allocations: 27.19 kB / 0.5774 GB, free: 23.22 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001029/0.3321, allocations: 0.5094 MB / 0.5779 GB, free: 22.93 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008806/0.333, allocations: 0.6608 MB / 0.5785 GB, free: 22.5 MB / 446.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002472/0.3332, allocations: 109.2 kB / 0.5786 GB, free: 22.46 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001682/0.3334, allocations: 181.7 kB / 0.5788 GB, free: 22.36 MB / 446.1 MB Notification: Performance of Backend: time 4.71e-07/0.3334, allocations: 0 / 0.5788 GB, free: 22.36 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.000999/0.3344, allocations: 394.1 kB / 0.5792 GB, free: 22.1 MB / 446.1 MB Notification: Performance of SimCode: time 0.001494/0.3359, allocations: 1.319 MB / 0.5805 GB, free: 21.08 MB / 446.1 MB Notification: Performance of Templates: time 0.01045/0.3463, allocations: 3.973 MB / 0.5844 GB, free: 20.75 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.080909819807857]