Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.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.001405/0.001405, allocations: 78.66 kB / 21.42 MB, free: 3.074 MB / 18.57 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.001016/0.001016, allocations: 165.8 kB / 24.82 MB, free: 9.266 MB / 18.57 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.05/1.05, allocations: 177.1 MB / 205.3 MB, free: 5.473 MB / 186.7 MB " [Timeout remaining time 179] 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.2968/0.2968, allocations: 32.8 MB / 294.6 MB, free: 1.234 MB / 266.7 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.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.BasicComponents,tolerance=1e-05,outputFormat="mat",numberOfIntervals=4667,variableFilter="time|converter.Phi|converter.i|converter1.i|eddyCurrent.Phi|leakageWithCoefficient.port_p.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.064e-06/2.064e-06, allocations: 0 / 376.5 MB, free: 4.434 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.461e-05/3.667e-05, allocations: 10.25 kB / 376.5 MB, free: 4.422 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.004692/0.004729, allocations: 3.479 MB / 379.9 MB, free: 0.918 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001669/0.006398, allocations: 0.8177 MB / 380.8 MB, free: 96 kB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001955/0.006593, allocations: 15.88 kB / 380.8 MB, free: 80 kB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.006758, allocations: 71.3 kB / 380.8 MB, free: 8 kB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002295/0.006988, allocations: 134.6 kB / 381 MB, free: 15.88 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003191/0.007307, allocations: 131.8 kB / 381.1 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.000423/0.00773, allocations: 0.5372 MB / 381.6 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000245/0.007975, allocations: 166.3 kB / 381.8 MB, free: 15.04 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003202/0.008295, allocations: 323.3 kB / 382.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001825/0.008478, allocations: 175.5 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.299e-05/0.008531, allocations: 48 kB / 382.3 MB, free: 14.51 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.047e-05/0.008581, allocations: 48 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.78e-05/0.008649, allocations: 119.6 kB / 382.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001141/0.008763, allocations: 175.6 kB / 382.7 MB, free: 14.17 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003472/0.00911, allocations: 366.7 kB / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.009115, allocations: 0 / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.009117, allocations: 0 / 383 MB, free: 13.81 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.009123, allocations: 0 / 383 MB, free: 13.81 MB / 362.7 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.0008591/0.009982, allocations: 0.796 MB / 383.8 MB, free: 12.98 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.107e-05/0.01003, allocations: 12.03 kB / 383.8 MB, free: 12.97 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.036e-05/0.01012, allocations: 88.61 kB / 383.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002693/0.01039, allocations: 256.8 kB / 384.2 MB, free: 12.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.584e-05/0.01043, allocations: 37.38 kB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/0.01048, allocations: 44.38 kB / 384.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004242/0.0109, allocations: 412.3 kB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.01091, allocations: 4.188 kB / 384.7 MB, free: 12.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.568e-05/0.01094, allocations: 20.38 kB / 384.7 MB, free: 12.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.41e-05/0.01095, allocations: 15.94 kB / 384.7 MB, free: 12.04 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000174/0.01113, allocations: 143.8 kB / 384.8 MB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.01256, allocations: 1.584 MB / 386.4 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.01278, allocations: 178 kB / 386.6 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001024/0.01288, allocations: 83.58 kB / 386.7 MB, free: 9.922 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.0129, allocations: 4 kB / 386.7 MB, free: 9.918 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.518e-05/0.01293, allocations: 53.38 kB / 386.7 MB, free: 9.855 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.694e-06/0.01294, allocations: 0 / 386.7 MB, free: 9.855 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001223/0.01416, allocations: 0.8264 MB / 387.6 MB, free: 8.957 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.102e-05/0.01419, allocations: 81.11 kB / 387.6 MB, free: 8.859 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001638/0.01435, allocations: 300.1 kB / 387.9 MB, free: 8.551 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.01437, allocations: 37.7 kB / 388 MB, free: 8.508 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001291/0.0145, allocations: 306.8 kB / 388.3 MB, free: 8.203 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.704e-05/0.01457, allocations: 130.9 kB / 388.4 MB, free: 8.074 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.721e-05/0.01465, allocations: 83.78 kB / 388.5 MB, free: 7.984 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001431/0.01479, allocations: 0.5195 MB / 389 MB, free: 7.453 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.583e-05/0.01485, allocations: 36.97 kB / 389 MB, free: 7.414 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001313/0.01498, allocations: 196.5 kB / 389.2 MB, free: 7.168 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002077/0.01518, allocations: 269 kB / 389.5 MB, free: 6.852 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.01519, allocations: 4 kB / 389.5 MB, free: 6.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.000306/0.01549, allocations: 304.7 kB / 389.8 MB, free: 6.539 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.01551, allocations: 8 kB / 389.8 MB, free: 6.531 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.01552, allocations: 4 kB / 389.8 MB, free: 6.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001188/0.01564, allocations: 31.66 kB / 389.8 MB, free: 6.492 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002281/0.01586, allocations: 124.2 kB / 390 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007966/0.01666, allocations: 1.752 MB / 391.7 MB, free: 4.5 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001041/0.01676, allocations: 8 kB / 391.7 MB, free: 4.492 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.651e-05/0.01678, allocations: 19.98 kB / 391.7 MB, free: 4.473 MB / 362.7 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.0001168/0.0169, allocations: 184.4 kB / 391.9 MB, free: 4.281 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.478e-05/0.01695, allocations: 43.81 kB / 392 MB, free: 4.238 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.088e-05/0.01699, allocations: 42.11 kB / 392 MB, free: 4.199 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.017, allocations: 7.938 kB / 392 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.017, allocations: 4 kB / 392 MB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.01701, allocations: 0 / 392 MB, free: 4.188 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004943/0.0175, allocations: 0.5203 MB / 392.5 MB, free: 3.621 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.01751, allocations: 3.984 kB / 392.5 MB, free: 3.617 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001937/0.0177, allocations: 91.95 kB / 392.6 MB, free: 3.527 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.36e-05/0.01776, allocations: 31.64 kB / 392.7 MB, free: 3.492 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.01778, allocations: 12 kB / 392.7 MB, free: 3.48 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006763/0.01845, allocations: 1.729 MB / 394.4 MB, free: 1.641 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.01845, allocations: 4 kB / 394.4 MB, free: 1.637 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000369/0.01882, allocations: 0.5534 MB / 395 MB, free: 1.055 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001337/0.01896, allocations: 39.78 kB / 395 MB, free: 1.016 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.01898, allocations: 8 kB / 395 MB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001149/0.01909, allocations: 20.11 kB / 395 MB, free: 0.9883 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.875e-05/0.01914, allocations: 31.89 kB / 395.1 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.01915, allocations: 11.98 kB / 395.1 MB, free: 0.9453 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.362e-05/0.01924, allocations: 197.1 kB / 395.3 MB, free: 0.75 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01924, allocations: 0 / 395.3 MB, free: 0.75 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002796/0.01952, allocations: 96 kB / 395.3 MB, free: 0.6562 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (converter.i,converter1.i,eddyCurrent.Phi) * 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 (32): * Single equations (assignments): 31 * 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.0001013/0.01963, allocations: 103.2 kB / 395.4 MB, free: 0.543 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003452/0.01997, allocations: 360.9 kB / 395.8 MB, free: 176 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.01997, allocations: 0.75 kB / 395.8 MB, free: 176 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.02014, allocations: 276.8 kB / 396.1 MB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002933/0.02043, allocations: 48.41 kB / 396.1 MB, free: 15.84 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001056/0.02149, allocations: 0.8015 MB / 396.9 MB, free: 14.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.493e-05/0.02156, allocations: 105.3 kB / 397 MB, free: 14.86 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.246e-05/0.02166, allocations: 34.97 kB / 397.1 MB, free: 14.83 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001221/0.02178, allocations: 122.2 kB / 397.2 MB, free: 14.71 MB / 378.7 MB Notification: Performance of SimCode: time 7.41e-07/0.02178, allocations: 0 / 397.2 MB, free: 14.71 MB / 378.7 MB Notification: Performance of Templates: time 0.005841/0.02762, allocations: 3.201 MB / 400.4 MB, free: 11.55 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/BasicComponents/BasicComponents.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.4590654000639915]