Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.002264/0.002264, allocations: 95.61 kB / 20.96 MB, free: 3.461 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.002882/0.002882, allocations: 165.3 kB / 24.27 MB, free: 152 kB / 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.674/1.674, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 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.3951/0.3951, allocations: 32.8 MB / 293.9 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 179] 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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.524e-06/2.524e-06, allocations: 3.938 kB / 375.2 MB, free: 5.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.743e-05/3.995e-05, allocations: 6.25 kB / 375.2 MB, free: 5.012 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.005352/0.005392, allocations: 1.739 MB / 377 MB, free: 3.258 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003044/0.005696, allocations: 91.7 kB / 377.1 MB, free: 3.168 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.588e-05/0.005772, allocations: 11.94 kB / 377.1 MB, free: 3.156 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 7.458e-05/0.005847, allocations: 11.81 kB / 377.1 MB, free: 3.145 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001321/0.005979, allocations: 23.78 kB / 377.1 MB, free: 3.121 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000149/0.006128, allocations: 23.97 kB / 377.1 MB, free: 3.098 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002614/0.006389, allocations: 107.6 kB / 377.2 MB, free: 2.992 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002222/0.006611, allocations: 39.95 kB / 377.3 MB, free: 2.953 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001821/0.006793, allocations: 63.88 kB / 377.3 MB, free: 2.891 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.006929, allocations: 39.89 kB / 377.4 MB, free: 2.852 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 3.941e-05/0.006968, allocations: 8 kB / 377.4 MB, free: 2.844 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.117e-05/0.007, allocations: 16 kB / 377.4 MB, free: 2.828 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.266e-05/0.007052, allocations: 27.91 kB / 377.4 MB, free: 2.801 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 9.451e-05/0.007147, allocations: 31.92 kB / 377.5 MB, free: 2.77 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002955/0.007442, allocations: 119.6 kB / 377.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.808e-06/0.007446, allocations: 0 / 377.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.503e-06/0.007448, allocations: 0 / 377.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.007454, allocations: 0 / 377.6 MB, free: 2.652 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 23 * Number of variables: 23 Notification: Performance of Generate backend data structure: time 0.0009701/0.008424, allocations: 439.9 kB / 378 MB, free: 2.184 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.008475, allocations: 8.031 kB / 378 MB, free: 2.176 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.604e-05/0.008561, allocations: 24.84 kB / 378 MB, free: 2.152 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.008755, allocations: 128.4 kB / 378.2 MB, free: 2 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.608e-05/0.008781, allocations: 8.375 kB / 378.2 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.317e-05/0.008814, allocations: 8.375 kB / 378.2 MB, free: 1.984 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004663/0.00928, allocations: 110.1 kB / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.422e-05/0.009294, allocations: 192 / 378.3 MB, free: 1.871 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.279e-05/0.009317, allocations: 8.312 kB / 378.3 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.009323, allocations: 384 / 378.3 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000456/0.009779, allocations: 87.89 kB / 378.4 MB, free: 1.777 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001297/0.01108, allocations: 458.6 kB / 378.8 MB, free: 1.285 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003553/0.01143, allocations: 79.02 kB / 378.9 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003324/0.01176, allocations: 51.78 kB / 379 MB, free: 1.141 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.01179, allocations: 3.938 kB / 379 MB, free: 1.137 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/0.01184, allocations: 41.33 kB / 379 MB, free: 1.086 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.01184, allocations: 4 kB / 379 MB, free: 1.082 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.001119/0.01296, allocations: 161.4 kB / 379.2 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.512e-05/0.01303, allocations: 51.41 kB / 379.2 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002299/0.01326, allocations: 181.9 kB / 379.4 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.01329, allocations: 25.7 kB / 379.4 MB, free: 0.625 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001585/0.01345, allocations: 158.7 kB / 379.6 MB, free: 476 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.017e-05/0.0135, allocations: 35.77 kB / 379.6 MB, free: 440 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-05/0.01358, allocations: 23.38 kB / 379.6 MB, free: 408 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0005331/0.01411, allocations: 0.4884 MB / 380.1 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001886/0.0143, allocations: 27.97 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002263/0.01453, allocations: 55.05 kB / 380.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003653/0.01489, allocations: 78.97 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.0149, allocations: 4 kB / 380.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0005648/0.01546, allocations: 133.2 kB / 380.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.658e-05/0.01549, allocations: 4 kB / 380.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.0155, allocations: 0 / 380.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002623/0.01576, allocations: 27.67 kB / 380.4 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001474/0.01591, allocations: 12 kB / 380.5 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002323/0.01823, allocations: 1.806 MB / 382.3 MB, free: 13.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001206/0.01835, allocations: 11.94 kB / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.705e-05/0.01837, allocations: 4 kB / 382.3 MB, free: 13.58 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (5): * Single equations (assignments): 4 * 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.00019/0.01856, allocations: 164.5 kB / 382.4 MB, free: 13.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.533e-05/0.01862, allocations: 8 kB / 382.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.936e-05/0.01866, allocations: 16.42 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.01866, allocations: 0 / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.01867, allocations: 0 / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.01867, allocations: 7.969 kB / 382.5 MB, free: 13.38 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.01973, allocations: 408.8 kB / 382.9 MB, free: 12.93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.346e-06/0.01973, allocations: 3.938 kB / 382.9 MB, free: 12.92 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000119/0.01985, allocations: 11.98 kB / 382.9 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000148/0.02, allocations: 27.67 kB / 382.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.798e-05/0.02002, allocations: 4 kB / 382.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002278/0.0223, allocations: 1.795 MB / 384.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.0223, allocations: 144 / 384.7 MB, free: 10.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007265/0.02303, allocations: 287 kB / 385 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.76e-05/0.02304, allocations: 3.984 kB / 385 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.218e-05/0.02307, allocations: 4 kB / 385 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001699/0.02324, allocations: 11.94 kB / 385 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.386e-05/0.02331, allocations: 7.984 kB / 385 MB, free: 10.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.506e-06/0.02332, allocations: 0 / 385 MB, free: 10.62 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001606/0.02348, allocations: 139.2 kB / 385.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of sort global known variables: time 2e-07/0.02348, allocations: 3.938 kB / 385.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005055/0.02398, allocations: 31.89 kB / 385.2 MB, free: 10.45 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (4): * Single equations (assignments): 3 * 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.0001717/0.02416, allocations: 91.25 kB / 385.3 MB, free: 10.35 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000801/0.02496, allocations: 249.4 kB / 385.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.02496, allocations: 0 / 385.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004681/0.02543, allocations: 221.8 kB / 385.7 MB, free: 9.844 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004552/0.02588, allocations: 8.109 kB / 385.8 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007792/0.02666, allocations: 213.9 kB / 386 MB, free: 9.594 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001486/0.02681, allocations: 93.3 kB / 386.1 MB, free: 9.477 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.73e-05/0.02686, allocations: 4 kB / 386.1 MB, free: 9.473 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.043e-05/0.02692, allocations: 16.5 kB / 386.1 MB, free: 9.457 MB / 362.7 MB Notification: Performance of SimCode: time 1.122e-06/0.02692, allocations: 0 / 386.1 MB, free: 9.457 MB / 362.7 MB Notification: Performance of Templates: time 0.008045/0.03497, allocations: 1.183 MB / 387.3 MB, free: 8.285 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.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.0563139349687845]