Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001063/0.001063, allocations: 77.97 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.001906/0.001906, allocations: 170.3 kB / 24.82 MB, free: 8.883 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.223/1.223, 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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3164/0.3164, allocations: 34.26 MB / 296.1 MB, free: 0.7383 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 378.5 MB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.515e-05/2.704e-05, allocations: 2.312 kB / 378.5 MB, free: 2.434 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.BasicComponents): time 0.005133/0.00516, allocations: 3.475 MB / 382 MB, free: 14.94 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.001682/0.006842, allocations: 0.8216 MB / 382.8 MB, free: 14.11 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002542/0.007096, allocations: 11.94 kB / 382.8 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002003/0.007296, allocations: 71.3 kB / 382.9 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.007601, allocations: 142.7 kB / 383 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003862/0.007988, allocations: 131.7 kB / 383.1 MB, free: 13.76 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006791/0.008667, allocations: 0.5333 MB / 383.7 MB, free: 13.22 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003733/0.00904, allocations: 174.3 kB / 383.8 MB, free: 13.05 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004513/0.009491, allocations: 323.3 kB / 384.1 MB, free: 12.73 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002655/0.009757, allocations: 171.5 kB / 384.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 8.294e-05/0.00984, allocations: 48 kB / 384.4 MB, free: 12.52 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.009922, allocations: 52 kB / 384.4 MB, free: 12.47 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.669e-05/0.01002, allocations: 111.6 kB / 384.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001786/0.0102, allocations: 175.6 kB / 384.7 MB, free: 12.19 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004619/0.01066, allocations: 370.6 kB / 385.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.01066, allocations: 0 / 385.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.01066, allocations: 0 / 385.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.074e-06/0.01067, allocations: 4 kB / 385.1 MB, free: 11.82 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.001128/0.0118, allocations: 0.7921 MB / 385.8 MB, free: 10.99 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.181e-05/0.01185, allocations: 8.031 kB / 385.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.01198, allocations: 92.61 kB / 385.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003811/0.01236, allocations: 256.8 kB / 386.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.818e-05/0.01241, allocations: 37.38 kB / 386.2 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.509e-05/0.01248, allocations: 48.38 kB / 386.3 MB, free: 10.53 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006545/0.01314, allocations: 408.4 kB / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.478e-05/0.01315, allocations: 192 / 386.7 MB, free: 10.09 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.725e-05/0.01319, allocations: 20.38 kB / 386.7 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.94e-05/0.01325, allocations: 19.88 kB / 386.7 MB, free: 10.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002798/0.01353, allocations: 140 kB / 386.9 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002229/0.01576, allocations: 1.587 MB / 388.4 MB, free: 8.223 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.01598, allocations: 178 kB / 388.6 MB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.634e-05/0.01608, allocations: 83.56 kB / 388.7 MB, free: 7.934 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.01609, allocations: 12.22 kB / 388.7 MB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.01612, allocations: 45.33 kB / 388.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 1.533e-06/0.01612, allocations: 0 / 388.8 MB, free: 7.867 MB / 362.7 MB Notification: Performance of matching and sorting (n=34): time 0.001341/0.01746, allocations: 0.8339 MB / 389.6 MB, free: 6.965 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.0175, allocations: 85.05 kB / 389.7 MB, free: 6.863 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001707/0.01767, allocations: 292.1 kB / 390 MB, free: 6.562 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.804e-05/0.01769, allocations: 29.7 kB / 390 MB, free: 6.527 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001254/0.01781, allocations: 318.8 kB / 390.3 MB, free: 6.211 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.041e-05/0.01787, allocations: 122.9 kB / 390.4 MB, free: 6.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.679e-05/0.01795, allocations: 91.77 kB / 390.5 MB, free: 5.992 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001266/0.01807, allocations: 0.5157 MB / 391 MB, free: 5.465 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.553e-05/0.01813, allocations: 48.89 kB / 391.1 MB, free: 5.414 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000115/0.01824, allocations: 184.5 kB / 391.2 MB, free: 5.18 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002029/0.01845, allocations: 268.8 kB / 391.5 MB, free: 4.863 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.01845, allocations: 0 / 391.5 MB, free: 4.863 MB / 362.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0003184/0.01877, allocations: 316.9 kB / 391.8 MB, free: 4.543 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.01878, allocations: 8 kB / 391.8 MB, free: 4.535 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.01879, allocations: 4 kB / 391.8 MB, free: 4.531 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001039/0.01889, allocations: 31.66 kB / 391.9 MB, free: 4.496 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.01911, allocations: 115.9 kB / 392 MB, free: 4.383 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001045/0.02016, allocations: 1.76 MB / 393.7 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001108/0.02027, allocations: 12 kB / 393.7 MB, free: 2.492 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.461e-05/0.02028, allocations: 12 kB / 393.8 MB, free: 2.48 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.0001043/0.02039, allocations: 180.5 kB / 393.9 MB, free: 2.293 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.991e-05/0.02044, allocations: 39.81 kB / 394 MB, free: 2.254 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.666e-05/0.02048, allocations: 42.11 kB / 394 MB, free: 2.215 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.02048, allocations: 8.078 kB / 394 MB, free: 2.207 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.02048, allocations: 4.031 kB / 394 MB, free: 2.203 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.02049, allocations: 7.969 kB / 394 MB, free: 2.195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004843/0.02097, allocations: 0.5163 MB / 394.6 MB, free: 1.633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.02098, allocations: 8 kB / 394.6 MB, free: 1.625 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001973/0.02118, allocations: 91.88 kB / 394.7 MB, free: 1.535 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.224e-05/0.02125, allocations: 27.73 kB / 394.7 MB, free: 1.504 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.609e-05/0.02126, allocations: 8 kB / 394.7 MB, free: 1.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007782/0.02204, allocations: 1.741 MB / 396.4 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.02204, allocations: 0 / 396.4 MB, free: 15.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004249/0.02247, allocations: 0.5397 MB / 397 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.031e-05/0.02254, allocations: 47.83 kB / 397 MB, free: 15.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.02256, allocations: 12.02 kB / 397 MB, free: 15.02 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.02268, allocations: 23.92 kB / 397 MB, free: 14.99 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.892e-05/0.02274, allocations: 23.95 kB / 397.1 MB, free: 14.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-05/0.02275, allocations: 8 kB / 397.1 MB, free: 14.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001024/0.02286, allocations: 201.1 kB / 397.3 MB, free: 14.76 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.02286, allocations: 0 / 397.3 MB, free: 14.76 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0002975/0.02315, allocations: 92 kB / 397.4 MB, free: 14.67 MB / 378.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 9.514e-05/0.02325, allocations: 111.1 kB / 397.5 MB, free: 14.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003393/0.02359, allocations: 363.9 kB / 397.8 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.02359, allocations: 0 / 397.8 MB, free: 14.18 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000157/0.02375, allocations: 265.3 kB / 398.1 MB, free: 13.89 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002894/0.02404, allocations: 45.28 kB / 398.1 MB, free: 13.85 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001027/0.02506, allocations: 0.799 MB / 398.9 MB, free: 13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.889e-05/0.02513, allocations: 105.3 kB / 399 MB, free: 12.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.846e-05/0.02522, allocations: 30.97 kB / 399.1 MB, free: 12.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001321/0.02535, allocations: 126.2 kB / 399.2 MB, free: 12.73 MB / 378.7 MB Notification: Performance of SimCode: time 4.71e-07/0.02535, allocations: 0 / 399.2 MB, free: 12.73 MB / 378.7 MB Notification: Performance of Templates: time 0.005314/0.03067, allocations: 3.199 MB / 402.4 MB, free: 9.578 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.BasicComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.45550424605608]