Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.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.001609/0.001609, allocations: 113.9 kB / 21.18 MB, free: 0.6289 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.001989/0.001989, allocations: 209.8 kB / 24.48 MB, free: 4.035 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.452/1.452, allocations: 230.2 MB / 257.8 MB, free: 8.516 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.2243/0.2243, allocations: 46.9 MB / 361.1 MB, free: 4.645 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.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources") translateModel(ModelicaTest.Magnetic.FluxTubes.Sources,tolerance=1e-05,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|constantSource.V_m|constantSource.Phi|signalSource.V_m|signalSource.Phi|constantSource1.Phi|constantSource1.V_m|signalSource1.Phi|signalSource1.V_m",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources") [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.002407/0.002407, allocations: 83.86 kB / 0.4968 GB, free: 7.844 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3488, allocations: 65.99 MB / 0.5612 GB, free: 5.047 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.Sources): time 0.004219/0.353, allocations: 2.715 MB / 0.5638 GB, free: 2.324 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001396/0.3544, allocations: 0.7943 MB / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001395/0.3545, allocations: 4 kB / 0.5646 GB, free: 1.52 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002492/0.3548, allocations: 75.38 kB / 0.5647 GB, free: 1.445 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002521/0.355, allocations: 111.2 kB / 0.5648 GB, free: 1.336 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.3553, allocations: 115.8 kB / 0.5649 GB, free: 1.223 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004798/0.3558, allocations: 426.3 kB / 0.5653 GB, free: 0.8047 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002375/0.356, allocations: 95.3 kB / 0.5654 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001908/0.3562, allocations: 151.4 kB / 0.5656 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002176/0.3564, allocations: 175.2 kB / 0.5657 GB, free: 396 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 5.241e-05/0.3565, allocations: 32 kB / 0.5658 GB, free: 364 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.281e-05/0.3565, allocations: 32 kB / 0.5658 GB, free: 332 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 9.419e-05/0.3566, allocations: 87.67 kB / 0.5659 GB, free: 244 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001657/0.3568, allocations: 179 kB / 0.566 GB, free: 64 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004892/0.3573, allocations: 425.1 kB / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3573, allocations: 0 / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.3573, allocations: 0 / 0.5664 GB, free: 15.65 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.3573, allocations: 0 / 0.5664 GB, free: 15.65 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001144/0.3584, allocations: 0.6819 MB / 0.5671 GB, free: 14.92 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/0.3585, allocations: 8.031 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.816e-05/0.3585, allocations: 40.7 kB / 0.5672 GB, free: 14.87 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.3589, allocations: 286.7 kB / 0.5674 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.732e-05/0.359, allocations: 33.38 kB / 0.5675 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.359, allocations: 32.38 kB / 0.5675 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006963/0.3597, allocations: 366.1 kB / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.3597, allocations: 0 / 0.5678 GB, free: 14.11 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.495e-05/0.3598, allocations: 19.98 kB / 0.5679 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.019e-05/0.3598, allocations: 8 kB / 0.5679 GB, free: 14.08 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006623/0.3604, allocations: 263.8 kB / 0.5681 GB, free: 13.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002167/0.3626, allocations: 1.339 MB / 0.5694 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/0.3631, allocations: 194.6 kB / 0.5696 GB, free: 12.17 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002263/0.3633, allocations: 71.56 kB / 0.5697 GB, free: 12.09 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.301e-05/0.3634, allocations: 11.94 kB / 0.5697 GB, free: 12.07 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.3634, allocations: 42.55 kB / 0.5697 GB, free: 12.02 MB / 414.1 MB Notification: Performance of pre-optimization done (n=15): time 1.433e-06/0.3634, allocations: 0 / 0.5697 GB, free: 12.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=15): time 0.0008496/0.3642, allocations: 249.5 kB / 0.57 GB, free: 11.77 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.354e-05/0.3643, allocations: 136.5 kB / 0.5701 GB, free: 11.61 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003841/0.3647, allocations: 341.6 kB / 0.5704 GB, free: 11.27 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.39e-05/0.3647, allocations: 25.7 kB / 0.5705 GB, free: 11.23 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002031/0.3649, allocations: 248.2 kB / 0.5707 GB, free: 10.98 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.853e-05/0.365, allocations: 55.53 kB / 0.5707 GB, free: 10.93 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.636e-05/0.3651, allocations: 57.94 kB / 0.5708 GB, free: 10.86 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001736/0.3652, allocations: 342.7 kB / 0.5711 GB, free: 10.52 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.3655, allocations: 84.45 kB / 0.5712 GB, free: 10.44 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003151/0.3658, allocations: 172.1 kB / 0.5714 GB, free: 10.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005481/0.3664, allocations: 247 kB / 0.5716 GB, free: 9.949 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.3664, allocations: 4 kB / 0.5716 GB, free: 9.945 MB / 414.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006975/0.3671, allocations: 317 kB / 0.5719 GB, free: 9.629 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.3671, allocations: 4 kB / 0.5719 GB, free: 9.625 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.3671, allocations: 4 kB / 0.5719 GB, free: 9.621 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.732e-05/0.3671, allocations: 4 kB / 0.5719 GB, free: 9.617 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004398/0.3675, allocations: 96.11 kB / 0.572 GB, free: 9.523 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.157e-05/0.3675, allocations: 4 kB / 0.572 GB, free: 9.52 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002921/0.3678, allocations: 52.22 kB / 0.5721 GB, free: 9.469 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.092e-05/0.3679, allocations: 8 kB / 0.5721 GB, free: 9.461 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (34): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000175/0.368, allocations: 153.7 kB / 0.5722 GB, free: 9.301 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/0.3681, allocations: 39.73 kB / 0.5723 GB, free: 9.262 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.079e-05/0.3682, allocations: 38.41 kB / 0.5723 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.3682, allocations: 0 / 0.5723 GB, free: 9.223 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.3682, allocations: 8 kB / 0.5723 GB, free: 9.215 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001042/0.3683, allocations: 108.8 kB / 0.5724 GB, free: 9.09 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.769e-05/0.3684, allocations: 4 kB / 0.5724 GB, free: 9.086 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002946/0.3687, allocations: 15.92 kB / 0.5724 GB, free: 9.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.769e-05/0.3687, allocations: 15.98 kB / 0.5724 GB, free: 9.055 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008369/0.3696, allocations: 0.5103 MB / 0.5729 GB, free: 8.535 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006788/0.3702, allocations: 0.5849 MB / 0.5735 GB, free: 7.934 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002163/0.3704, allocations: 67.89 kB / 0.5736 GB, free: 7.867 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002652/0.3707, allocations: 243.2 kB / 0.5738 GB, free: 7.633 MB / 414.1 MB Notification: Performance of Backend: time 5.31e-07/0.3707, allocations: 0 / 0.5738 GB, free: 7.633 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008973/0.3716, allocations: 196.9 kB / 0.574 GB, free: 7.438 MB / 414.1 MB Notification: Performance of SimCode: time 0.001168/0.3728, allocations: 0.9706 MB / 0.5749 GB, free: 6.414 MB / 414.1 MB Notification: Performance of Templates: time 0.006707/0.3795, allocations: 2.599 MB / 0.5775 GB, free: 3.812 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/Sources/Sources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Magnetic.FluxTubes.Sources.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: 4.927210616879165]