Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001451/0.001451, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.0012/0.0012, allocations: 161.9 kB / 24.99 MB, free: 8.336 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 0.97/0.97, allocations: 177.1 MB / 205.3 MB, free: 5.617 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.2511/0.2511, allocations: 34.26 MB / 296.1 MB, free: 0.7773 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.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.V_m|reluctance.Phi|permeance.V_m|permeance.Phi",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.502e-06/1.502e-06, allocations: 0 / 378 MB, free: 3.035 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.846e-05/1.996e-05, allocations: 6.312 kB / 378 MB, free: 3.027 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002421/0.002441, allocations: 1.762 MB / 379.8 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000175/0.002616, allocations: 91.66 kB / 379.9 MB, free: 1.16 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.726e-05/0.002664, allocations: 4 kB / 379.9 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.634e-05/0.00271, allocations: 11.86 kB / 379.9 MB, free: 1.145 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 6.489e-05/0.002775, allocations: 27.72 kB / 379.9 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.593e-05/0.002871, allocations: 27.97 kB / 379.9 MB, free: 1.09 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.003004, allocations: 107.6 kB / 380 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001361/0.00314, allocations: 39.88 kB / 380.1 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.995e-05/0.00322, allocations: 63.88 kB / 380.1 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.003285, allocations: 39.89 kB / 380.2 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.505e-05/0.00331, allocations: 16 kB / 380.2 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.07e-05/0.003321, allocations: 8 kB / 380.2 MB, free: 0.8203 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.491e-05/0.003346, allocations: 27.91 kB / 380.2 MB, free: 0.793 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.721e-05/0.003383, allocations: 35.92 kB / 380.3 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001305/0.003514, allocations: 83.66 kB / 380.3 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.003516, allocations: 0 / 380.3 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.003517, allocations: 0 / 380.3 MB, free: 0.6758 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.108e-06/0.003521, allocations: 0 / 380.3 MB, free: 0.6758 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.0004259/0.003947, allocations: 432.2 kB / 380.8 MB, free: 220 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.093e-05/0.003988, allocations: 16.03 kB / 380.8 MB, free: 204 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.49e-05/0.004033, allocations: 16.88 kB / 380.8 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001031/0.004136, allocations: 124.5 kB / 380.9 MB, free: 36 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.344e-05/0.004149, allocations: 4.375 kB / 380.9 MB, free: 32 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.814e-05/0.004167, allocations: 20.3 kB / 380.9 MB, free: 12 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001854/0.004353, allocations: 102.8 kB / 381 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.753e-06/0.00436, allocations: 192 / 381 MB, free: 15.9 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.004373, allocations: 8.375 kB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.00438, allocations: 384 / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.59e-05/0.004446, allocations: 34.16 kB / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005417/0.004988, allocations: 434.5 kB / 381.5 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.654e-05/0.005084, allocations: 54.98 kB / 381.6 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.706e-05/0.005171, allocations: 31.8 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.029e-05/0.005182, allocations: 4 kB / 381.6 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.03e-05/0.005202, allocations: 37.39 kB / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.473e-06/0.005203, allocations: 0 / 381.6 MB, free: 15.24 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003076/0.005511, allocations: 105.2 kB / 381.7 MB, free: 15.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.005538, allocations: 55.34 kB / 381.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.879e-05/0.005617, allocations: 173.9 kB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.005627, allocations: 25.7 kB / 382 MB, free: 14.84 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.005687, allocations: 162.7 kB / 382.1 MB, free: 14.68 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.545e-05/0.005703, allocations: 23.78 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.223e-05/0.005735, allocations: 27.38 kB / 382.2 MB, free: 14.62 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0004188/0.006154, allocations: 0.4884 MB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.207e-05/0.006176, allocations: 4 kB / 382.7 MB, free: 14.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.457e-05/0.00621, allocations: 39.05 kB / 382.7 MB, free: 14.07 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.43e-05/0.006265, allocations: 47 kB / 382.8 MB, free: 14.01 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.006266, allocations: 4 kB / 382.8 MB, free: 14 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001208/0.006387, allocations: 93.45 kB / 382.9 MB, free: 13.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.379e-05/0.006401, allocations: 10.02 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.006406, allocations: 4 kB / 382.9 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001361/0.006542, allocations: 23.61 kB / 382.9 MB, free: 13.86 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.921e-05/0.006602, allocations: 16.06 kB / 382.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007561/0.007358, allocations: 1.756 MB / 384.7 MB, free: 11.97 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.349e-05/0.007391, allocations: 11.94 kB / 384.7 MB, free: 11.96 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.42e-06/0.007397, allocations: 4 kB / 384.7 MB, free: 11.95 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 6.541e-05/0.007462, allocations: 152.6 kB / 384.8 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.644e-05/0.007478, allocations: 15.95 kB / 384.8 MB, free: 11.78 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.024e-05/0.007489, allocations: 16.45 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.52e-07/0.00749, allocations: 0 / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.007492, allocations: 0 / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.007495, allocations: 3.938 kB / 384.9 MB, free: 11.76 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002502/0.007746, allocations: 348.8 kB / 385.2 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.007748, allocations: 3.938 kB / 385.2 MB, free: 11.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.455e-05/0.007782, allocations: 11.98 kB / 385.2 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.768e-05/0.00784, allocations: 27.61 kB / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.007846, allocations: 0 / 385.3 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005989/0.008445, allocations: 1.764 MB / 387 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.383e-06/0.008447, allocations: 0 / 387 MB, free: 9.43 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001366/0.008583, allocations: 239.2 kB / 387.2 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.397e-06/0.008587, allocations: 0 / 387.2 MB, free: 9.168 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.136e-06/0.008595, allocations: 8 kB / 387.3 MB, free: 9.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.266e-05/0.008637, allocations: 15.86 kB / 387.3 MB, free: 9.145 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.876e-05/0.008676, allocations: 7.922 kB / 387.3 MB, free: 9.137 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-06/0.00868, allocations: 8 kB / 387.3 MB, free: 9.129 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.649e-05/0.008717, allocations: 131.2 kB / 387.4 MB, free: 9 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008717, allocations: 0 / 387.4 MB, free: 9 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001744/0.008891, allocations: 27.89 kB / 387.4 MB, free: 8.973 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 6.873e-05/0.00896, allocations: 99.23 kB / 387.5 MB, free: 8.867 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002134/0.009174, allocations: 205.4 kB / 387.7 MB, free: 8.645 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.009175, allocations: 4 kB / 387.7 MB, free: 8.641 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.051e-05/0.009256, allocations: 189.7 kB / 387.9 MB, free: 8.434 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001796/0.009435, allocations: 16 kB / 387.9 MB, free: 8.418 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.009758, allocations: 217.8 kB / 388.2 MB, free: 8.172 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.793e-05/0.009796, allocations: 63.34 kB / 388.2 MB, free: 8.09 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.27e-05/0.009818, allocations: 8 kB / 388.2 MB, free: 8.082 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.288e-05/0.009841, allocations: 8.5 kB / 388.2 MB, free: 8.074 MB / 362.7 MB Notification: Performance of SimCode: time 5.71e-07/0.009842, allocations: 0 / 388.2 MB, free: 8.074 MB / 362.7 MB Notification: Performance of Templates: time 0.003102/0.01294, allocations: 1.186 MB / 389.4 MB, free: 6.902 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/FluxTubes/VariableComponents/VariableComponents.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.094516723183915]