Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.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.001905/0.001905, allocations: 86.53 kB / 20.95 MB, free: 3.453 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.002176/0.002176, allocations: 169.6 kB / 24.27 MB, free: 140 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.478/1.478, allocations: 177.1 MB / 204.6 MB, free: 5.586 MB / 186.7 MB " [Timeout remaining time 178] 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.3674/0.3674, allocations: 34.27 MB / 295.3 MB, free: 0.6797 MB / 266.7 MB " [Timeout remaining time 179] 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.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") translateModel(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|reluctance.abs_V_m|reluctance.abs_Phi|permeance.abs_V_m|permeance.abs_Phi|magFluxSource.gamma",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 377.3 MB, free: 2.984 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.06e-05/3.211e-05, allocations: 9.266 kB / 377.3 MB, free: 2.977 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents): time 0.004726/0.004758, allocations: 2.354 MB / 379.6 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.006982, allocations: 1.032 MB / 380.7 MB, free: 15.56 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001945/0.007176, allocations: 8 kB / 380.7 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001559/0.008735, allocations: 493.6 kB / 381.1 MB, free: 15.07 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003949/0.00913, allocations: 115.1 kB / 381.3 MB, free: 14.96 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.01019, allocations: 450.1 kB / 381.7 MB, free: 14.52 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004157/0.01061, allocations: 234.8 kB / 381.9 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000535/0.01114, allocations: 214.7 kB / 382.1 MB, free: 14.07 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000351/0.01149, allocations: 151.7 kB / 382.3 MB, free: 13.92 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.01172, allocations: 91.77 kB / 382.4 MB, free: 13.83 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.077e-05/0.01177, allocations: 24 kB / 382.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003575/0.01213, allocations: 151.7 kB / 382.5 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.648e-05/0.01219, allocations: 47.84 kB / 382.6 MB, free: 13.61 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001156/0.0123, allocations: 75.77 kB / 382.7 MB, free: 13.54 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006837/0.01299, allocations: 418.7 kB / 383.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.01299, allocations: 0 / 383.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.01299, allocations: 0 / 383.1 MB, free: 13.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.358e-06/0.013, allocations: 0 / 383.1 MB, free: 13.13 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001549/0.01455, allocations: 0.5597 MB / 383.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.01459, allocations: 8.031 kB / 383.6 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004192/0.01501, allocations: 84.7 kB / 383.7 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.01518, allocations: 133.5 kB / 383.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.01521, allocations: 16.88 kB / 383.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.22e-05/0.01527, allocations: 24.38 kB / 383.9 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000691/0.01597, allocations: 287.3 kB / 384.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.01598, allocations: 4.188 kB / 384.2 MB, free: 11.96 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.978e-05/0.01601, allocations: 8.375 kB / 384.2 MB, free: 11.95 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.388e-05/0.01603, allocations: 11.94 kB / 384.2 MB, free: 11.94 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006225/0.01665, allocations: 229.8 kB / 384.4 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001712/0.01836, allocations: 0.8337 MB / 385.3 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005331/0.01889, allocations: 205 kB / 385.5 MB, free: 10.62 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003852/0.01928, allocations: 125.7 kB / 385.6 MB, free: 10.49 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001253/0.0194, allocations: 15.98 kB / 385.6 MB, free: 10.47 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.856e-05/0.01945, allocations: 38.5 kB / 385.6 MB, free: 10.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=19): time 1.673e-06/0.01945, allocations: 4.109 kB / 385.6 MB, free: 10.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=19): time 0.001429/0.02088, allocations: 365.4 kB / 386 MB, free: 10.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/0.02095, allocations: 77.11 kB / 386.1 MB, free: 9.961 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.02109, allocations: 132.7 kB / 386.2 MB, free: 9.824 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.044e-05/0.02112, allocations: 29.7 kB / 386.2 MB, free: 9.789 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.02124, allocations: 152.2 kB / 386.4 MB, free: 9.637 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.269e-05/0.02132, allocations: 71.41 kB / 386.4 MB, free: 9.566 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.615e-05/0.0214, allocations: 33.72 kB / 386.5 MB, free: 9.527 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001886/0.02159, allocations: 326.8 kB / 386.8 MB, free: 9.199 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002424/0.02183, allocations: 83.77 kB / 386.9 MB, free: 9.117 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002639/0.0221, allocations: 116.8 kB / 387 MB, free: 8.984 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005273/0.02262, allocations: 209.2 kB / 387.2 MB, free: 8.762 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.02263, allocations: 0 / 387.2 MB, free: 8.762 MB / 362.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007261/0.02335, allocations: 282.9 kB / 387.5 MB, free: 8.473 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.975e-05/0.02337, allocations: 12.19 kB / 387.5 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.164e-06/0.02338, allocations: 0 / 387.5 MB, free: 8.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002808/0.02366, allocations: 57.69 kB / 387.5 MB, free: 8.398 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002058/0.02387, allocations: 35.97 kB / 387.6 MB, free: 8.363 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002658/0.02652, allocations: 2.603 MB / 390.2 MB, free: 5.551 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001701/0.02669, allocations: 23.88 kB / 390.2 MB, free: 5.527 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.068e-05/0.02671, allocations: 8 kB / 390.2 MB, free: 5.52 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (19): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001733/0.02689, allocations: 137.8 kB / 390.3 MB, free: 5.375 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.802e-05/0.02697, allocations: 19.91 kB / 390.4 MB, free: 5.355 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007537/0.02772, allocations: 256 kB / 390.6 MB, free: 5.098 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.968e-06/0.02773, allocations: 7.984 kB / 390.6 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.02773, allocations: 0 / 390.6 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.616e-06/0.02774, allocations: 0 / 390.6 MB, free: 5.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001283/0.02902, allocations: 0.5521 MB / 391.2 MB, free: 4.484 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.342e-06/0.02903, allocations: 4 kB / 391.2 MB, free: 4.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00019/0.02922, allocations: 39.91 kB / 391.2 MB, free: 4.441 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001761/0.02939, allocations: 49.69 kB / 391.3 MB, free: 4.387 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.212e-05/0.02941, allocations: 8 kB / 391.3 MB, free: 4.379 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002692/0.03211, allocations: 2.596 MB / 393.9 MB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.315e-06/0.03211, allocations: 0 / 393.9 MB, free: 1.578 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001072/0.03318, allocations: 0.5257 MB / 394.4 MB, free: 1.023 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.66e-05/0.03322, allocations: 15.92 kB / 394.4 MB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.03324, allocations: 7.938 kB / 394.4 MB, free: 1 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001881/0.03343, allocations: 15.92 kB / 394.4 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.043e-05/0.03352, allocations: 27.89 kB / 394.5 MB, free: 0.957 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.661e-05/0.03354, allocations: 8 kB / 394.5 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of sorting global known variables: time 8.316e-05/0.03362, allocations: 95.27 kB / 394.6 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.03362, allocations: 0 / 394.6 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000498/0.03412, allocations: 75.78 kB / 394.6 MB, free: 0.7812 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 1 (magFluxSource.port_p.reference.gamma) * 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 (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,2,100.0%), (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.0002667/0.03439, allocations: 131.2 kB / 394.8 MB, free: 0.6406 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0009403/0.03533, allocations: 412.9 kB / 395.2 MB, free: 216 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.03533, allocations: 0 / 395.2 MB, free: 216 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005156/0.03585, allocations: 313.2 kB / 395.5 MB, free: 15.88 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004874/0.03633, allocations: 18.8 kB / 395.5 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001113/0.03745, allocations: 462.3 kB / 395.9 MB, free: 15.38 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001826/0.03763, allocations: 129.2 kB / 396.1 MB, free: 15.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 8.006e-05/0.03771, allocations: 17.14 kB / 396.1 MB, free: 15.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.588e-05/0.03775, allocations: 12.5 kB / 396.1 MB, free: 15.21 MB / 378.7 MB Notification: Performance of SimCode: time 6.01e-07/0.03776, allocations: 4 kB / 396.1 MB, free: 15.2 MB / 378.7 MB Notification: Performance of Templates: time 0.007312/0.04507, allocations: 2.391 MB / 398.5 MB, free: 12.83 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.sim & ./ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.FluxTubes.VariableComponents_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Magnetic/QuasiStatic/FluxTubes/VariableComponents/VariableComponents.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Magnetic.QuasiStatic.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.9707823869539425]