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.0009643/0.0009643, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.0009991/0.0009991, allocations: 161 kB / 24.56 MB, free: 16 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.053/1.053, allocations: 177.1 MB / 205 MB, free: 5.609 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.2515/0.2515, allocations: 32.8 MB / 294.3 MB, free: 1.266 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.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.894e-06/1.894e-06, allocations: 0 / 376 MB, free: 4.707 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.021e-05/3.21e-05, allocations: 2.312 kB / 376 MB, free: 4.703 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.003083/0.003116, allocations: 1.789 MB / 377.8 MB, free: 2.902 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.000236/0.003352, allocations: 83.67 kB / 377.9 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.003407, allocations: 0 / 377.9 MB, free: 2.82 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 6.052e-05/0.003468, allocations: 15.86 kB / 377.9 MB, free: 2.805 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 7.223e-05/0.00354, allocations: 19.78 kB / 377.9 MB, free: 2.785 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001326/0.003673, allocations: 31.95 kB / 377.9 MB, free: 2.754 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001242/0.003797, allocations: 107.6 kB / 378 MB, free: 2.648 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001495/0.003946, allocations: 39.88 kB / 378.1 MB, free: 2.609 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.177e-05/0.004038, allocations: 67.88 kB / 378.1 MB, free: 2.543 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.483e-05/0.004103, allocations: 35.89 kB / 378.2 MB, free: 2.508 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.004128, allocations: 12 kB / 378.2 MB, free: 2.496 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.004142, allocations: 12 kB / 378.2 MB, free: 2.484 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.987e-05/0.004171, allocations: 27.91 kB / 378.2 MB, free: 2.457 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.304e-05/0.004214, allocations: 35.91 kB / 378.2 MB, free: 2.422 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001568/0.004371, allocations: 75.73 kB / 378.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.956e-06/0.004374, allocations: 0 / 378.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.004375, allocations: 0 / 378.3 MB, free: 2.348 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.781e-06/0.004381, allocations: 4 kB / 378.3 MB, free: 2.344 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.000586/0.004967, allocations: 444.1 kB / 378.8 MB, free: 1.871 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.005016, allocations: 8.031 kB / 378.8 MB, free: 1.863 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.079e-05/0.005067, allocations: 16.89 kB / 378.8 MB, free: 1.848 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001157/0.005183, allocations: 124.5 kB / 378.9 MB, free: 1.699 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.452e-05/0.005197, allocations: 4.375 kB / 378.9 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.728e-05/0.005214, allocations: 8.375 kB / 378.9 MB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001863/0.005401, allocations: 110.7 kB / 379 MB, free: 1.57 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.005412, allocations: 8.125 kB / 379 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.005425, allocations: 4.375 kB / 379 MB, free: 1.559 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.093e-05/0.005436, allocations: 8.375 kB / 379 MB, free: 1.551 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.522e-05/0.005501, allocations: 38.14 kB / 379.1 MB, free: 1.516 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000601/0.006102, allocations: 430.5 kB / 379.5 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.006215, allocations: 51 kB / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.006317, allocations: 35.78 kB / 379.6 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.012e-05/0.006327, allocations: 4 kB / 379.6 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/0.006353, allocations: 41.39 kB / 379.6 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 2.565e-06/0.006355, allocations: 0 / 379.6 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003763/0.006731, allocations: 101.2 kB / 379.7 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.408e-05/0.006766, allocations: 51.41 kB / 379.8 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001041/0.00687, allocations: 173.9 kB / 380 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.006884, allocations: 25.7 kB / 380 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.567e-05/0.006969, allocations: 154.7 kB / 380.1 MB, free: 356 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.006989, allocations: 31.78 kB / 380.2 MB, free: 324 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.01e-05/0.007029, allocations: 23.38 kB / 380.2 MB, free: 292 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001356/0.007165, allocations: 496.1 kB / 380.7 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/0.007192, allocations: 11.98 kB / 380.7 MB, free: 15.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.145e-05/0.007234, allocations: 31.06 kB / 380.7 MB, free: 15.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.023e-05/0.007304, allocations: 47 kB / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.007307, allocations: 0 / 380.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001531/0.00746, allocations: 97.19 kB / 380.9 MB, free: 15.57 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.007475, allocations: 8.062 kB / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.00748, allocations: 0 / 380.9 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001781/0.007658, allocations: 23.67 kB / 380.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.676e-05/0.007735, allocations: 15.92 kB / 380.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009134/0.008649, allocations: 1.756 MB / 382.7 MB, free: 13.64 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.236e-05/0.008691, allocations: 23.92 kB / 382.7 MB, free: 13.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.008697, allocations: 0 / 382.7 MB, free: 13.62 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 7.647e-05/0.008773, allocations: 160.6 kB / 382.8 MB, free: 13.45 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.172e-05/0.008795, allocations: 11.95 kB / 382.8 MB, free: 13.44 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.154e-05/0.008807, allocations: 8.438 kB / 382.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.008809, allocations: 4 kB / 382.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.065e-06/0.008812, allocations: 0 / 382.9 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.008816, allocations: 3.938 kB / 382.9 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002861/0.009102, allocations: 360.7 kB / 383.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.009105, allocations: 3.938 kB / 383.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.08e-05/0.009135, allocations: 12.03 kB / 383.2 MB, free: 13 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.936e-05/0.009205, allocations: 19.67 kB / 383.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.009213, allocations: 4 kB / 383.3 MB, free: 12.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007473/0.00996, allocations: 1.756 MB / 385 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.009963, allocations: 3.938 kB / 385 MB, free: 11.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001451/0.01011, allocations: 231.2 kB / 385.2 MB, free: 10.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-06/0.01011, allocations: 7.984 kB / 385.2 MB, free: 10.83 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-06/0.01012, allocations: 4.031 kB / 385.2 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.388e-05/0.01016, allocations: 16.06 kB / 385.3 MB, free: 10.81 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.349e-05/0.01021, allocations: 11.92 kB / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.656e-06/0.01021, allocations: 0 / 385.3 MB, free: 10.8 MB / 362.7 MB Notification: Performance of sorting global known variables: time 5.112e-05/0.01026, allocations: 135.2 kB / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01026, allocations: 0 / 385.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001915/0.01045, allocations: 31.89 kB / 385.4 MB, free: 10.63 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 9.059e-05/0.01055, allocations: 91.25 kB / 385.5 MB, free: 10.54 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002559/0.0108, allocations: 213.4 kB / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.0108, allocations: 0 / 385.7 MB, free: 10.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.403e-05/0.0109, allocations: 197.5 kB / 385.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002095/0.01111, allocations: 8 kB / 385.9 MB, free: 10.08 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004086/0.01152, allocations: 218 kB / 386.2 MB, free: 9.836 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.376e-05/0.01156, allocations: 67.34 kB / 386.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.452e-05/0.01158, allocations: 0 / 386.2 MB, free: 9.75 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.087e-05/0.01161, allocations: 12.5 kB / 386.2 MB, free: 9.738 MB / 362.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01162, allocations: 0 / 386.2 MB, free: 9.738 MB / 362.7 MB Notification: Performance of Templates: time 0.003188/0.0148, allocations: 1.183 MB / 387.4 MB, free: 8.566 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","",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.293679824564606]