Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 81.3 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001596/0.001596, allocations: 151.2 kB / 23.94 MB, free: 4.184 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.438/1.438, allocations: 173.3 MB / 200.4 MB, free: 12.91 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 318.9 MB, free: 3.582 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.203e-05/2.35e-05, allocations: 2.281 kB / 318.9 MB, free: 3.578 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.003561/0.003585, allocations: 2.618 MB / 321.5 MB, free: 1.832 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001381/0.004965, allocations: 0.7111 MB / 322.2 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003097/0.005275, allocations: 4.812 kB / 322.3 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002632/0.005538, allocations: 74.17 kB / 322.3 MB, free: 1.289 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003892/0.005927, allocations: 94.98 kB / 322.4 MB, free: 1.223 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003516/0.006279, allocations: 105.7 kB / 322.5 MB, free: 1.164 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000468/0.006747, allocations: 416.4 kB / 322.9 MB, free: 0.9492 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.00694, allocations: 97.61 kB / 323 MB, free: 0.8984 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003829/0.007322, allocations: 233.8 kB / 323.3 MB, free: 0.793 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.007534, allocations: 117.7 kB / 323.4 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.027e-05/0.007614, allocations: 33.28 kB / 323.4 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.208e-05/0.007676, allocations: 32.53 kB / 323.4 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.883e-05/0.007735, allocations: 76.61 kB / 323.5 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001337/0.007869, allocations: 122.3 kB / 323.6 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004515/0.008321, allocations: 398.3 kB / 324 MB, free: 0.4922 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.008324, allocations: 5.969 kB / 324 MB, free: 500 kB / 286.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.008324, allocations: 4 kB / 324 MB, free: 496 kB / 286.1 MB Notification: Performance of Transformations before backend: time 1.893e-05/0.008343, allocations: 0 / 324 MB, free: 496 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 79 * Number of variables: 79 Notification: Performance of Generate backend data structure: time 0.001113/0.009457, allocations: 0.5698 MB / 324.6 MB, free: 60 kB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.35e-05/0.00949, allocations: 8.469 kB / 324.6 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.189e-05/0.009572, allocations: 42.42 kB / 324.6 MB, free: 36 kB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004074/0.00998, allocations: 208.6 kB / 324.8 MB, free: 15.85 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.761e-05/0.01002, allocations: 26.31 kB / 324.9 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.577e-05/0.01007, allocations: 28.84 kB / 324.9 MB, free: 15.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006296/0.0107, allocations: 287.8 kB / 325.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.346e-05/0.01072, allocations: 192 / 325.2 MB, free: 15.71 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.437e-05/0.01075, allocations: 15.59 kB / 325.2 MB, free: 15.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/0.01076, allocations: 10.97 kB / 325.2 MB, free: 15.69 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006399/0.0114, allocations: 256.7 kB / 325.5 MB, free: 15.61 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001729/0.01313, allocations: 0.8717 MB / 326.3 MB, free: 15 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003987/0.01353, allocations: 142.2 kB / 326.5 MB, free: 14.94 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001969/0.01373, allocations: 64.86 kB / 326.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.084e-05/0.01376, allocations: 10.89 kB / 326.5 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.01378, allocations: 31.81 kB / 326.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of pre-optimization done (n=17): time 1.403e-06/0.01378, allocations: 0 / 326.6 MB, free: 14.87 MB / 302.1 MB Notification: Performance of matching and sorting (n=22): time 0.002202/0.01599, allocations: 0.5982 MB / 327.2 MB, free: 14.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.243e-05/0.01603, allocations: 53.44 kB / 327.2 MB, free: 14.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003141/0.01634, allocations: 267.6 kB / 327.5 MB, free: 14.41 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.01637, allocations: 30.92 kB / 327.5 MB, free: 14.38 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001702/0.01654, allocations: 229.3 kB / 327.7 MB, free: 14.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.005e-05/0.01661, allocations: 78.41 kB / 327.8 MB, free: 14.12 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.01672, allocations: 65.39 kB / 327.9 MB, free: 14.07 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.01688, allocations: 344.5 kB / 328.2 MB, free: 13.74 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003136/0.01719, allocations: 93.05 kB / 328.3 MB, free: 13.72 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000388/0.01758, allocations: 196.1 kB / 328.5 MB, free: 13.57 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006976/0.01828, allocations: 299.8 kB / 328.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/0.01828, allocations: 1.156 kB / 328.8 MB, free: 13.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009526/0.01924, allocations: 393.7 kB / 329.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.846e-05/0.01925, allocations: 8.328 kB / 329.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.01926, allocations: 2.438 kB / 329.2 MB, free: 13.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002748/0.01954, allocations: 63.97 kB / 329.3 MB, free: 13.17 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003352/0.01987, allocations: 73.66 kB / 329.3 MB, free: 13.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002241/0.02211, allocations: 2.583 MB / 331.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003093/0.02242, allocations: 25.47 kB / 331.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.039e-05/0.02245, allocations: 15.34 kB / 331.9 MB, free: 10.61 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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 (37): * Single equations (assignments): 35 * 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.0001673/0.02262, allocations: 148.9 kB / 332.1 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.514e-05/0.02268, allocations: 24.89 kB / 332.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.309e-05/0.02275, allocations: 38.64 kB / 332.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.02275, allocations: 2.656 kB / 332.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.861e-06/0.02276, allocations: 1.25 kB / 332.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.02276, allocations: 2.125 kB / 332.2 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003363/0.0231, allocations: 230.5 kB / 332.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.0231, allocations: 0 / 332.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002159/0.02332, allocations: 41.27 kB / 332.4 MB, free: 10.26 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001581/0.02347, allocations: 50.75 kB / 332.5 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.487e-05/0.0235, allocations: 14.38 kB / 332.5 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002129/0.02563, allocations: 2.577 MB / 335.1 MB, free: 7.688 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/0.02563, allocations: 3.938 kB / 335.1 MB, free: 7.684 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007734/0.02641, allocations: 375.8 kB / 335.4 MB, free: 7.453 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.844e-05/0.02645, allocations: 23.7 kB / 335.5 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.252e-05/0.02649, allocations: 2.156 kB / 335.5 MB, free: 7.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002184/0.02671, allocations: 17.95 kB / 335.5 MB, free: 7.434 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.145e-05/0.02678, allocations: 19.69 kB / 335.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.423e-05/0.02679, allocations: 5.047 kB / 335.5 MB, free: 7.43 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002029/0.02699, allocations: 182.2 kB / 335.7 MB, free: 7.316 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.02699, allocations: 1.188 kB / 335.7 MB, free: 7.316 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004061/0.0274, allocations: 70.22 kB / 335.8 MB, free: 7.309 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (18): * Single equations (assignments): 16 * 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.0001274/0.02753, allocations: 108.2 kB / 335.9 MB, free: 7.211 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009867/0.02851, allocations: 472.7 kB / 336.3 MB, free: 6.918 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.02852, allocations: 0 / 336.3 MB, free: 6.918 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005549/0.02907, allocations: 339.7 kB / 336.7 MB, free: 6.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003362/0.02941, allocations: 32.8 kB / 336.7 MB, free: 6.641 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001128/0.03054, allocations: 0.5181 MB / 337.2 MB, free: 6.312 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001797/0.03072, allocations: 166 kB / 337.4 MB, free: 6.211 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001247/0.03084, allocations: 30.25 kB / 337.4 MB, free: 6.188 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.151e-05/0.03091, allocations: 25.83 kB / 337.4 MB, free: 6.176 MB / 302.1 MB Notification: Performance of SimCode: time 3.9e-07/0.03091, allocations: 0 / 337.4 MB, free: 6.176 MB / 302.1 MB Notification: Performance of Templates: time 0.007884/0.0388, allocations: 2.762 MB / 340.2 MB, free: 4.77 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.260206907987595]