Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009826/0.0009826, allocations: 79.69 kB / 21.7 MB, free: 2.848 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 165 kB / 24.99 MB, free: 8.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.003/1.003, allocations: 177 MB / 205.2 MB, free: 5.578 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 273 MB, free: 1.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.541e-05/2.698e-05, allocations: 2.312 kB / 273 MB, free: 1.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.002972/0.002999, allocations: 2.833 MB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.004039, allocations: 0.7709 MB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000127/0.004166, allocations: 4 kB / 276.6 MB, free: 14.11 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000184/0.00435, allocations: 67.38 kB / 276.7 MB, free: 14.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000213/0.004563, allocations: 103.1 kB / 276.8 MB, free: 13.94 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.004757, allocations: 111.8 kB / 276.9 MB, free: 13.83 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004389/0.005196, allocations: 402.3 kB / 277.3 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001759/0.005372, allocations: 91.33 kB / 277.4 MB, free: 13.34 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003247/0.005697, allocations: 235.5 kB / 277.6 MB, free: 13.11 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001354/0.005832, allocations: 123.6 kB / 277.7 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.005869, allocations: 36 kB / 277.7 MB, free: 12.96 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.05e-05/0.0059, allocations: 32 kB / 277.8 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.766e-05/0.005947, allocations: 83.66 kB / 277.9 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.492e-05/0.006032, allocations: 123.7 kB / 278 MB, free: 12.72 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.006268, allocations: 255 kB / 278.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.545e-06/0.006271, allocations: 0 / 278.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.22e-07/0.006272, allocations: 0 / 278.2 MB, free: 12.47 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.739e-06/0.006276, allocations: 0 / 278.2 MB, free: 12.47 MB / 266.7 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.0007096/0.006986, allocations: 0.6713 MB / 278.9 MB, free: 11.76 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.007019, allocations: 11.98 kB / 278.9 MB, free: 11.75 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.125e-05/0.007101, allocations: 60.7 kB / 279 MB, free: 11.69 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000244/0.007345, allocations: 224.9 kB / 279.2 MB, free: 11.44 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.802e-05/0.007373, allocations: 21.03 kB / 279.2 MB, free: 11.42 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.817e-05/0.007411, allocations: 32.38 kB / 279.2 MB, free: 11.39 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003618/0.007773, allocations: 227.3 kB / 279.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.007783, allocations: 192 / 279.5 MB, free: 11.16 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.326e-05/0.007806, allocations: 24.36 kB / 279.5 MB, free: 11.14 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.22e-05/0.007818, allocations: 11.94 kB / 279.5 MB, free: 11.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002/0.008018, allocations: 127.8 kB / 279.6 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009931/0.009012, allocations: 0.9095 MB / 280.5 MB, free: 10.02 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001839/0.009195, allocations: 103.1 kB / 280.6 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.809e-05/0.009254, allocations: 38.48 kB / 280.7 MB, free: 9.867 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.009277, allocations: 7.906 kB / 280.7 MB, free: 9.859 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.231e-05/0.009299, allocations: 37.39 kB / 280.7 MB, free: 9.812 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 1.442e-06/0.0093, allocations: 0 / 280.7 MB, free: 9.812 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008239/0.01012, allocations: 423.9 kB / 281.1 MB, free: 9.383 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.793e-05/0.01015, allocations: 55.41 kB / 281.2 MB, free: 9.316 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001902/0.01034, allocations: 312.1 kB / 281.5 MB, free: 8.996 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.719e-05/0.01036, allocations: 37.69 kB / 281.5 MB, free: 8.953 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001097/0.01047, allocations: 278.8 kB / 281.8 MB, free: 8.676 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.73e-05/0.01051, allocations: 71.38 kB / 281.9 MB, free: 8.605 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.01057, allocations: 71.31 kB / 281.9 MB, free: 8.527 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.01069, allocations: 0.5117 MB / 282.4 MB, free: 8.004 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.078e-05/0.01076, allocations: 35.97 kB / 282.5 MB, free: 7.969 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001335/0.01089, allocations: 175.8 kB / 282.7 MB, free: 7.734 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/0.0111, allocations: 244.8 kB / 282.9 MB, free: 7.438 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.0111, allocations: 0 / 282.9 MB, free: 7.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0003447/0.01144, allocations: 302.7 kB / 283.2 MB, free: 7.129 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/0.01146, allocations: 4.406 kB / 283.2 MB, free: 7.125 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.01147, allocations: 8 kB / 283.2 MB, free: 7.117 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003632/0.01183, allocations: 79.28 kB / 283.3 MB, free: 7.031 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002153/0.01205, allocations: 67.91 kB / 283.3 MB, free: 6.965 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001977/0.01402, allocations: 3.535 MB / 286.9 MB, free: 3.184 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001554/0.01418, allocations: 12 kB / 286.9 MB, free: 3.172 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.091e-05/0.0142, allocations: 16 kB / 286.9 MB, free: 3.156 MB / 266.7 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.0001203/0.01432, allocations: 188.5 kB / 287.1 MB, free: 2.961 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.01437, allocations: 35.81 kB / 287.1 MB, free: 2.926 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.225e-05/0.01442, allocations: 34.2 kB / 287.2 MB, free: 2.891 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.01443, allocations: 4 kB / 287.2 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.01443, allocations: 0 / 287.2 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.01444, allocations: 0 / 287.2 MB, free: 2.887 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002507/0.01469, allocations: 232.5 kB / 287.4 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.01469, allocations: 0 / 287.4 MB, free: 2.625 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001159/0.01481, allocations: 31.98 kB / 287.4 MB, free: 2.594 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000257/0.01506, allocations: 75.25 kB / 287.5 MB, free: 2.512 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.58e-05/0.01508, allocations: 11.92 kB / 287.5 MB, free: 2.5 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001604/0.01668, allocations: 3.524 MB / 291 MB, free: 14.73 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.01668, allocations: 3.938 kB / 291 MB, free: 14.72 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005695/0.01725, allocations: 342.9 kB / 291.4 MB, free: 14.36 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.032e-05/0.01728, allocations: 23.81 kB / 291.4 MB, free: 14.34 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.482e-05/0.01731, allocations: 4 kB / 291.4 MB, free: 14.33 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000122/0.01743, allocations: 20.05 kB / 291.4 MB, free: 14.31 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.01749, allocations: 11.97 kB / 291.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.149e-05/0.0175, allocations: 8 kB / 291.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001402/0.01764, allocations: 209.1 kB / 291.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01764, allocations: 4 kB / 291.6 MB, free: 14.09 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003761/0.01802, allocations: 68 kB / 291.7 MB, free: 14.02 MB / 282.7 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.0001049/0.01812, allocations: 99.25 kB / 291.8 MB, free: 13.92 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0005143/0.01864, allocations: 0.4983 MB / 292.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01864, allocations: 0 / 292.3 MB, free: 13.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002685/0.01891, allocations: 419.2 kB / 292.7 MB, free: 12.94 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000318/0.01922, allocations: 33.3 kB / 292.7 MB, free: 12.91 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00101/0.02023, allocations: 0.5266 MB / 293.3 MB, free: 12.35 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001041/0.02034, allocations: 92.17 kB / 293.4 MB, free: 12.24 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.02045, allocations: 30.27 kB / 293.4 MB, free: 12.21 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.515e-05/0.02051, allocations: 24.5 kB / 293.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of SimCode: time 8.11e-07/0.02051, allocations: 0 / 293.4 MB, free: 12.18 MB / 282.7 MB Notification: Performance of Templates: time 0.006201/0.02671, allocations: 2.815 MB / 296.2 MB, free: 9.398 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.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.8442032479215413]