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.001339/0.001339, allocations: 77.97 kB / 21.42 MB, free: 3.066 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.001422/0.001422, allocations: 166 kB / 24.82 MB, free: 9.309 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.9766/0.9766, allocations: 177.2 MB / 205.3 MB, free: 5.5 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.2944/0.2944, allocations: 34.26 MB / 296.1 MB, free: 0.6445 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 2.124e-06/2.124e-06, allocations: 0 / 378.5 MB, free: 2.398 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.536e-05/2.748e-05, allocations: 2.312 kB / 378.5 MB, free: 2.395 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Magnetic.FluxTubes.VariableComponents): time 0.002244/0.002271, allocations: 1.755 MB / 380.2 MB, free: 0.625 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001562/0.002427, allocations: 99.64 kB / 380.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.168e-05/0.002469, allocations: 0 / 380.3 MB, free: 0.5273 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 4.357e-05/0.002513, allocations: 15.86 kB / 380.3 MB, free: 0.5117 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 5.808e-05/0.002571, allocations: 19.73 kB / 380.4 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.588e-05/0.002657, allocations: 27.95 kB / 380.4 MB, free: 476 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 9.884e-05/0.002755, allocations: 111.6 kB / 380.5 MB, free: 364 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.002878, allocations: 38.47 kB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.446e-05/0.002962, allocations: 67.88 kB / 380.6 MB, free: 260 kB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.726e-05/0.003019, allocations: 35.89 kB / 380.6 MB, free: 224 kB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.012e-05/0.00304, allocations: 12 kB / 380.6 MB, free: 212 kB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.364e-05/0.003053, allocations: 12 kB / 380.7 MB, free: 200 kB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 2.311e-05/0.003076, allocations: 27.91 kB / 380.7 MB, free: 172 kB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.208e-05/0.003108, allocations: 31.92 kB / 380.7 MB, free: 140 kB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.003228, allocations: 79.72 kB / 380.8 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.00323, allocations: 0 / 380.8 MB, free: 60 kB / 346.7 MB Notification: Performance of FrontEnd: time 9.72e-07/0.003231, allocations: 0 / 380.8 MB, free: 60 kB / 346.7 MB Notification: Performance of Transformations before backend: time 3.666e-06/0.003235, allocations: 0 / 380.8 MB, free: 60 kB / 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.0003915/0.003626, allocations: 448.2 kB / 381.2 MB, free: 15.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.379e-05/0.00366, allocations: 11.97 kB / 381.2 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/0.003694, allocations: 20.89 kB / 381.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.473e-05/0.003768, allocations: 116.5 kB / 381.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.00378, allocations: 8.375 kB / 381.4 MB, free: 15.4 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.003791, allocations: 8.375 kB / 381.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001308/0.003922, allocations: 102.7 kB / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.003928, allocations: 192 / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.414e-06/0.003935, allocations: 384 / 381.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.00394, allocations: 8.375 kB / 381.5 MB, free: 15.28 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.742e-05/0.003977, allocations: 30.14 kB / 381.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004058/0.004383, allocations: 403.2 kB / 381.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.53e-05/0.004458, allocations: 51.05 kB / 382 MB, free: 14.76 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.506e-05/0.004513, allocations: 39.72 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.346e-06/0.004522, allocations: 3.984 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.004541, allocations: 37.39 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 1.012e-06/0.004542, allocations: 4 kB / 382.1 MB, free: 14.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=6): time 0.0002301/0.004772, allocations: 97.22 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.201e-05/0.004794, allocations: 51.41 kB / 382.2 MB, free: 14.49 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.806e-05/0.004862, allocations: 169.9 kB / 382.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.435e-06/0.004871, allocations: 29.64 kB / 382.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.418e-05/0.004925, allocations: 166.6 kB / 382.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.004937, allocations: 19.8 kB / 382.6 MB, free: 14.09 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.721e-05/0.004965, allocations: 23.36 kB / 382.6 MB, free: 14.05 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.005067, allocations: 0.4923 MB / 383.1 MB, free: 13.55 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.419e-05/0.005081, allocations: 7.984 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.725e-05/0.005108, allocations: 35.06 kB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.32e-05/0.005171, allocations: 51.23 kB / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.005173, allocations: 0 / 383.2 MB, free: 13.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001147/0.005288, allocations: 85.19 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.146e-05/0.005299, allocations: 6.5 kB / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.356e-06/0.005302, allocations: 64 / 383.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.554e-05/0.005398, allocations: 35.66 kB / 383.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.055e-05/0.005449, allocations: 15.92 kB / 383.3 MB, free: 13.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006563/0.006105, allocations: 1.729 MB / 385.1 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.89e-05/0.006134, allocations: 7.938 kB / 385.1 MB, free: 11.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-06/0.006137, allocations: 160 / 385.1 MB, free: 11.43 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.93e-05/0.006206, allocations: 172.5 kB / 385.2 MB, free: 11.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.507e-05/0.006221, allocations: 7.953 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.476e-06/0.00623, allocations: 8.438 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.006232, allocations: 4 kB / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.713e-06/0.006233, allocations: 0 / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.006235, allocations: 0 / 385.3 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.006492, allocations: 329.3 kB / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.006493, allocations: 0 / 385.6 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.575e-05/0.006519, allocations: 8 kB / 385.6 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-05/0.006569, allocations: 31.83 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.689e-06/0.006574, allocations: 4 kB / 385.6 MB, free: 10.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006294/0.007204, allocations: 1.733 MB / 387.4 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.007204, allocations: 0 / 387.4 MB, free: 8.969 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001136/0.007318, allocations: 239.1 kB / 387.6 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-06/0.007321, allocations: 0 / 387.6 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-06/0.007326, allocations: 0 / 387.6 MB, free: 8.707 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.109e-05/0.007367, allocations: 15.98 kB / 387.6 MB, free: 8.691 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.584e-05/0.007393, allocations: 11.95 kB / 387.6 MB, free: 8.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.176e-06/0.007396, allocations: 4 kB / 387.6 MB, free: 8.676 MB / 362.7 MB Notification: Performance of sorting global known variables: time 3.471e-05/0.007431, allocations: 139.1 kB / 387.8 MB, free: 8.539 MB / 362.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007431, allocations: 0 / 387.8 MB, free: 8.539 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001537/0.007584, allocations: 31.83 kB / 387.8 MB, free: 8.508 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.091e-05/0.007645, allocations: 91.25 kB / 387.9 MB, free: 8.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002869/0.007932, allocations: 209.4 kB / 388.1 MB, free: 8.184 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.007933, allocations: 4.125 kB / 388.1 MB, free: 8.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.885e-05/0.008012, allocations: 193.5 kB / 388.3 MB, free: 7.969 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001628/0.008175, allocations: 11.98 kB / 388.3 MB, free: 7.957 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002503/0.008425, allocations: 209.9 kB / 388.5 MB, free: 7.719 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.297e-05/0.008458, allocations: 71.33 kB / 388.6 MB, free: 7.629 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.996e-05/0.008478, allocations: 12.05 kB / 388.6 MB, free: 7.617 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.28e-05/0.008521, allocations: 70.2 kB / 388.6 MB, free: 7.547 MB / 362.7 MB Notification: Performance of SimCode: time 4.51e-07/0.008522, allocations: 0 / 388.6 MB, free: 7.547 MB / 362.7 MB Notification: Performance of Templates: time 0.002329/0.01085, allocations: 1.268 MB / 389.9 MB, free: 6.289 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.071332744322717]