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.001297/0.001297, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001109/0.001109, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.9589/0.9589, allocations: 177.1 MB / 205.3 MB, free: 5.496 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.2579/0.2579, allocations: 32.8 MB / 294.6 MB, free: 1.168 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.653e-06/1.653e-06, allocations: 0 / 323.2 MB, free: 9.723 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.385e-05/2.55e-05, allocations: 4.422 kB / 323.2 MB, free: 9.719 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002291/0.002317, allocations: 1.767 MB / 325 MB, free: 7.938 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00018/0.002497, allocations: 87.61 kB / 325 MB, free: 7.852 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.422e-05/0.002551, allocations: 4 kB / 325 MB, free: 7.848 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.056e-05/0.002602, allocations: 11.86 kB / 325.1 MB, free: 7.836 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.585e-05/0.002667, allocations: 27.77 kB / 325.1 MB, free: 7.809 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001017/0.002769, allocations: 23.97 kB / 325.1 MB, free: 7.785 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.002904, allocations: 111.5 kB / 325.2 MB, free: 7.676 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001494/0.003053, allocations: 47.94 kB / 325.3 MB, free: 7.629 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.937e-05/0.003153, allocations: 55.95 kB / 325.3 MB, free: 7.574 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.479e-05/0.003227, allocations: 43.88 kB / 325.4 MB, free: 7.531 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.777e-05/0.003255, allocations: 12 kB / 325.4 MB, free: 7.52 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.298e-05/0.003268, allocations: 8 kB / 325.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 2.819e-05/0.003296, allocations: 23.92 kB / 325.4 MB, free: 7.488 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.98e-05/0.003336, allocations: 44.47 kB / 325.4 MB, free: 7.445 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.003462, allocations: 75.73 kB / 325.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.154e-06/0.003464, allocations: 0 / 325.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.003465, allocations: 0 / 325.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.439e-06/0.00347, allocations: 0 / 325.5 MB, free: 7.371 MB / 298.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.000401/0.003871, allocations: 309.8 kB / 325.8 MB, free: 7.043 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.003908, allocations: 12.03 kB / 325.8 MB, free: 7.031 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.439e-05/0.003942, allocations: 16.92 kB / 325.9 MB, free: 7.016 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.16e-05/0.004034, allocations: 121.6 kB / 326 MB, free: 6.871 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.004046, allocations: 8.375 kB / 326 MB, free: 6.863 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/0.004065, allocations: 12.38 kB / 326 MB, free: 6.852 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004506/0.004516, allocations: 102.1 kB / 326.1 MB, free: 6.746 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.246e-06/0.004524, allocations: 192 / 326.1 MB, free: 6.746 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.848e-06/0.004534, allocations: 8.375 kB / 326.1 MB, free: 6.738 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.535e-06/0.004542, allocations: 4.375 kB / 326.1 MB, free: 6.734 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.534e-05/0.004577, allocations: 23.92 kB / 326.1 MB, free: 6.711 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004095/0.004987, allocations: 299 kB / 326.4 MB, free: 6.398 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.426e-05/0.005071, allocations: 50.48 kB / 326.5 MB, free: 6.34 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.851e-05/0.005139, allocations: 24.97 kB / 326.5 MB, free: 6.312 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.111e-05/0.005151, allocations: 4 kB / 326.5 MB, free: 6.309 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.851e-05/0.005179, allocations: 38.56 kB / 326.5 MB, free: 6.262 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.903e-06/0.005181, allocations: 0 / 326.5 MB, free: 6.262 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.0003009/0.005482, allocations: 94.38 kB / 326.6 MB, free: 6.16 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.005505, allocations: 51.41 kB / 326.7 MB, free: 6.098 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.21e-05/0.005568, allocations: 118.7 kB / 326.8 MB, free: 5.969 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.357e-06/0.005577, allocations: 25.7 kB / 326.8 MB, free: 5.938 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.00562, allocations: 111.9 kB / 326.9 MB, free: 5.824 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.215e-05/0.005632, allocations: 23.77 kB / 327 MB, free: 5.801 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-05/0.00566, allocations: 25.72 kB / 327 MB, free: 5.77 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.174e-05/0.005732, allocations: 314.8 kB / 327.3 MB, free: 5.453 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.441e-05/0.005747, allocations: 7.984 kB / 327.3 MB, free: 5.445 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/0.005773, allocations: 26.56 kB / 327.3 MB, free: 5.41 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.579e-05/0.005819, allocations: 42.5 kB / 327.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.005821, allocations: 0 / 327.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.871e-05/0.00592, allocations: 74.39 kB / 327.4 MB, free: 5.277 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.145e-05/0.005931, allocations: 7.938 kB / 327.4 MB, free: 5.27 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.05e-06/0.005937, allocations: 4.062 kB / 327.4 MB, free: 5.266 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/0.006054, allocations: 24.84 kB / 327.5 MB, free: 5.238 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.705e-05/0.006111, allocations: 11.98 kB / 327.5 MB, free: 5.227 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006364/0.006747, allocations: 1.179 MB / 328.7 MB, free: 3.961 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.006781, allocations: 7.938 kB / 328.7 MB, free: 3.953 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.39e-06/0.006786, allocations: 4.312 kB / 328.7 MB, free: 3.949 MB / 298.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.171e-05/0.006848, allocations: 121.8 kB / 328.8 MB, free: 3.82 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.471e-05/0.006863, allocations: 7.938 kB / 328.8 MB, free: 3.812 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.412e-05/0.006877, allocations: 12.44 kB / 328.8 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-06/0.006878, allocations: 0 / 328.8 MB, free: 3.797 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.527e-06/0.006881, allocations: 4 kB / 328.8 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.006884, allocations: 0 / 328.8 MB, free: 3.793 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002162/0.0071, allocations: 244.3 kB / 329.1 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.007101, allocations: 0 / 329.1 MB, free: 3.523 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.9e-05/0.00713, allocations: 15.94 kB / 329.1 MB, free: 3.508 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.074e-05/0.007191, allocations: 24.86 kB / 329.1 MB, free: 3.48 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.829e-06/0.007196, allocations: 4 kB / 329.1 MB, free: 3.477 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005145/0.00771, allocations: 1.171 MB / 330.3 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.007712, allocations: 0 / 330.3 MB, free: 2.215 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001026/0.007814, allocations: 173.1 kB / 330.4 MB, free: 2.023 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.438e-06/0.007824, allocations: 19.88 kB / 330.5 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.5e-06/0.007829, allocations: 0 / 330.5 MB, free: 2.004 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.931e-05/0.007868, allocations: 12.03 kB / 330.5 MB, free: 1.992 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.915e-05/0.007898, allocations: 7.984 kB / 330.5 MB, free: 1.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.578e-06/0.007902, allocations: 4 kB / 330.5 MB, free: 1.98 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.61e-05/0.007918, allocations: 16.84 kB / 330.5 MB, free: 1.961 MB / 298.7 MB Notification: Performance of sort global known variables: time 3e-08/0.007918, allocations: 0 / 330.5 MB, free: 1.961 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001385/0.008057, allocations: 20 kB / 330.5 MB, free: 1.941 MB / 298.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 8.578e-05/0.008143, allocations: 72.42 kB / 330.6 MB, free: 1.863 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001802/0.008323, allocations: 163.5 kB / 330.7 MB, free: 1.688 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.008326, allocations: 4 kB / 330.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.179e-05/0.008398, allocations: 127.5 kB / 330.9 MB, free: 1.543 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.00854, allocations: 15.92 kB / 330.9 MB, free: 1.527 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000296/0.008836, allocations: 211.6 kB / 331.1 MB, free: 1.293 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.599e-05/0.008872, allocations: 67.39 kB / 331.2 MB, free: 1.207 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.094e-05/0.008893, allocations: 8 kB / 331.2 MB, free: 1.199 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.567e-05/0.008939, allocations: 51.38 kB / 331.2 MB, free: 1.148 MB / 298.7 MB Notification: Performance of SimCode: time 8.92e-07/0.00894, allocations: 0 / 331.2 MB, free: 1.148 MB / 298.7 MB Notification: Performance of Templates: time 0.002776/0.01172, allocations: 1.145 MB / 332.4 MB, free: 20 kB / 298.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: 2.946049181278795]