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.00143/0.00143, allocations: 82.03 kB / 20.68 MB, free: 1.035 MB / 14.72 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.001727/0.001727, allocations: 163.5 kB / 23.95 MB, free: 4.172 MB / 14.72 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.515/1.515, allocations: 177.2 MB / 204.3 MB, free: 9.191 MB / 190.1 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.2191/0.2191, allocations: 32.81 MB / 293.5 MB, free: 44 kB / 270.1 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.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 1.784e-06/1.784e-06, allocations: 0 / 440.1 MB, free: 8.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.362e-05/3.541e-05, allocations: 2.281 kB / 440.1 MB, free: 8.203 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003463/0.003498, allocations: 1.704 MB / 441.8 MB, free: 6.488 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002838/0.003782, allocations: 87.67 kB / 441.9 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.904e-05/0.003881, allocations: 0 / 441.9 MB, free: 6.402 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 7.732e-05/0.003959, allocations: 15.8 kB / 441.9 MB, free: 6.387 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001098/0.004068, allocations: 23.78 kB / 441.9 MB, free: 6.363 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001328/0.004201, allocations: 27.95 kB / 441.9 MB, free: 6.336 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002065/0.004408, allocations: 107.6 kB / 442 MB, free: 6.23 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002136/0.004621, allocations: 43.89 kB / 442.1 MB, free: 6.188 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002057/0.004827, allocations: 55.95 kB / 442.1 MB, free: 6.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001042/0.004931, allocations: 43.88 kB / 442.2 MB, free: 6.09 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.004973, allocations: 12 kB / 442.2 MB, free: 6.078 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.772e-05/0.005, allocations: 8 kB / 442.2 MB, free: 6.07 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.726e-05/0.005048, allocations: 23.92 kB / 442.2 MB, free: 6.047 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 7.866e-05/0.005126, allocations: 39.91 kB / 442.2 MB, free: 6.008 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002346/0.005361, allocations: 119.6 kB / 442.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.005365, allocations: 0 / 442.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.005366, allocations: 0 / 442.4 MB, free: 5.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 9.788e-06/0.005376, allocations: 4 kB / 442.4 MB, free: 5.887 MB / 366.1 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.0007948/0.00617, allocations: 342 kB / 442.7 MB, free: 5.52 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.006221, allocations: 8.031 kB / 442.7 MB, free: 5.512 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.284e-05/0.006284, allocations: 12.89 kB / 442.7 MB, free: 5.5 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.006462, allocations: 121.6 kB / 442.8 MB, free: 5.355 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.502e-05/0.006487, allocations: 8.375 kB / 442.9 MB, free: 5.348 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.61e-05/0.006513, allocations: 12.31 kB / 442.9 MB, free: 5.336 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004232/0.006936, allocations: 124.9 kB / 443 MB, free: 5.211 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.329e-05/0.00695, allocations: 192 / 443 MB, free: 5.211 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.935e-05/0.006969, allocations: 12.31 kB / 443 MB, free: 5.199 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.006978, allocations: 4.375 kB / 443 MB, free: 5.195 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000406/0.007384, allocations: 107.8 kB / 443.1 MB, free: 5.09 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000983/0.008367, allocations: 387.3 kB / 443.5 MB, free: 4.672 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.008672, allocations: 86.53 kB / 443.6 MB, free: 4.578 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002733/0.008945, allocations: 56.92 kB / 443.6 MB, free: 4.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.25e-05/0.008968, allocations: 4 kB / 443.6 MB, free: 4.516 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.119e-05/0.009009, allocations: 38.5 kB / 443.7 MB, free: 4.469 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.643e-06/0.00901, allocations: 0 / 443.7 MB, free: 4.469 MB / 366.1 MB Notification: Performance of matching and sorting (n=6): time 0.0009132/0.009924, allocations: 186.3 kB / 443.8 MB, free: 4.277 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.362e-05/0.009987, allocations: 55.41 kB / 443.9 MB, free: 4.211 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.01011, allocations: 117.7 kB / 444 MB, free: 4.086 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.587e-05/0.01013, allocations: 25.7 kB / 444 MB, free: 4.055 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.004e-05/0.01023, allocations: 115.9 kB / 444.2 MB, free: 3.938 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.991e-05/0.01024, allocations: 19.86 kB / 444.2 MB, free: 3.918 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.01029, allocations: 17.72 kB / 444.2 MB, free: 3.895 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.00017/0.01046, allocations: 318.8 kB / 444.5 MB, free: 3.574 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001752/0.01064, allocations: 43.95 kB / 444.5 MB, free: 3.531 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001722/0.01081, allocations: 46.55 kB / 444.6 MB, free: 3.477 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003349/0.01115, allocations: 102.4 kB / 444.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.01115, allocations: 0 / 444.7 MB, free: 3.367 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004786/0.01163, allocations: 146.3 kB / 444.8 MB, free: 3.215 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.155e-05/0.01165, allocations: 12.06 kB / 444.8 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.01166, allocations: 0 / 444.8 MB, free: 3.203 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001947/0.01185, allocations: 24.84 kB / 444.9 MB, free: 3.176 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.01199, allocations: 19.97 kB / 444.9 MB, free: 3.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001341/0.01333, allocations: 1.276 MB / 446.2 MB, free: 1.773 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.01344, allocations: 20.28 kB / 446.2 MB, free: 1.754 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.01345, allocations: 0 / 446.2 MB, free: 1.754 MB / 366.1 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.0001338/0.01358, allocations: 125.5 kB / 446.3 MB, free: 1.625 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.286e-05/0.01362, allocations: 11.95 kB / 446.3 MB, free: 1.613 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.01365, allocations: 16.42 kB / 446.3 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01365, allocations: 3.938 kB / 446.3 MB, free: 1.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/0.01365, allocations: 3.938 kB / 446.3 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01366, allocations: 0 / 446.3 MB, free: 1.586 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006938/0.01435, allocations: 363.8 kB / 446.7 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.01435, allocations: 0 / 446.7 MB, free: 1.188 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.554e-05/0.01445, allocations: 15.98 kB / 446.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.907e-05/0.01453, allocations: 24.84 kB / 446.7 MB, free: 1.145 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.01454, allocations: 4 kB / 446.7 MB, free: 1.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2044/0.219, allocations: 1.258 MB / 448 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.219, allocations: 8.344 kB / 448 MB, free: 20.71 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004916/0.2195, allocations: 237.8 kB / 448.2 MB, free: 20.56 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.581e-05/0.2195, allocations: 8.516 kB / 448.3 MB, free: 20.56 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.2195, allocations: 5.266 kB / 448.3 MB, free: 20.56 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.2196, allocations: 23.2 kB / 448.3 MB, free: 20.56 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.778e-05/0.2197, allocations: 11.8 kB / 448.3 MB, free: 20.56 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.067e-06/0.2197, allocations: 6.562 kB / 448.3 MB, free: 20.56 MB / 366.1 MB Notification: Performance of sorting global known variables: time 4.14e-05/0.2197, allocations: 89.06 kB / 448.4 MB, free: 20.49 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2197, allocations: 0 / 448.4 MB, free: 20.49 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0003243/0.22, allocations: 25.2 kB / 448.4 MB, free: 20.49 MB / 366.1 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 9.651e-05/0.2201, allocations: 95.44 kB / 448.5 MB, free: 20.4 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0005173/0.2207, allocations: 207.7 kB / 448.7 MB, free: 20.29 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.2207, allocations: 5.094 kB / 448.7 MB, free: 20.29 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.2209, allocations: 154.3 kB / 448.9 MB, free: 20.18 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002653/0.2212, allocations: 9.062 kB / 448.9 MB, free: 20.18 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003969/0.2216, allocations: 206.2 kB / 449.1 MB, free: 20.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.254e-05/0.2216, allocations: 86.47 kB / 449.2 MB, free: 19.96 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.099e-05/0.2216, allocations: 2.828 kB / 449.2 MB, free: 19.96 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.2217, allocations: 10.33 kB / 449.2 MB, free: 19.95 MB / 366.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2217, allocations: 1.219 kB / 449.2 MB, free: 19.95 MB / 366.1 MB Notification: Performance of Templates: time 0.004569/0.2262, allocations: 1.165 MB / 450.3 MB, free: 19.87 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] 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: 4.89076030254364]