Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.0009763/0.0009763, allocations: 84.73 kB / 21.5 MB, free: 2.988 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.0009528/0.0009528, allocations: 164.8 kB / 24.91 MB, free: 8.762 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 0.99/0.99, allocations: 177 MB / 205.2 MB, free: 5.461 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.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.362e-06/1.362e-06, allocations: 3.938 kB / 273.4 MB, free: 1.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.781e-05/1.918e-05, allocations: 2.312 kB / 273.4 MB, free: 1.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.003479/0.003499, allocations: 3.495 MB / 276.9 MB, free: 13.66 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001476/0.004974, allocations: 0.9888 MB / 277.9 MB, free: 12.67 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001857/0.00516, allocations: 11.94 kB / 277.9 MB, free: 12.66 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002121/0.005372, allocations: 99.08 kB / 278 MB, free: 12.56 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003038/0.005676, allocations: 178.6 kB / 278.2 MB, free: 12.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.005958, allocations: 163.7 kB / 278.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004532/0.006411, allocations: 0.658 MB / 279 MB, free: 11.56 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001863/0.006598, allocations: 130.7 kB / 279.1 MB, free: 11.43 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000298/0.006896, allocations: 371.1 kB / 279.5 MB, free: 11.07 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002/0.007096, allocations: 203.4 kB / 279.7 MB, free: 10.87 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.878e-05/0.007154, allocations: 52 kB / 279.8 MB, free: 10.82 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.736e-05/0.007202, allocations: 52 kB / 279.8 MB, free: 10.77 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.53e-05/0.007267, allocations: 127.5 kB / 279.9 MB, free: 10.64 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000122/0.007389, allocations: 195.5 kB / 280.1 MB, free: 10.45 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003345/0.007723, allocations: 414.3 kB / 280.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.007727, allocations: 0 / 280.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.392e-06/0.007728, allocations: 3.938 kB / 280.5 MB, free: 10.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.815e-06/0.007736, allocations: 0 / 280.5 MB, free: 10.04 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.0007466/0.008483, allocations: 0.7645 MB / 281.3 MB, free: 9.25 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.008513, allocations: 15.98 kB / 281.3 MB, free: 9.234 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.713e-05/0.00859, allocations: 80.88 kB / 281.4 MB, free: 9.156 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002392/0.008829, allocations: 253.4 kB / 281.6 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/0.008862, allocations: 37.69 kB / 281.7 MB, free: 8.844 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.28e-05/0.008904, allocations: 48.38 kB / 281.7 MB, free: 8.797 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003197/0.009224, allocations: 319.7 kB / 282 MB, free: 8.48 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/0.009236, allocations: 192 / 282 MB, free: 8.48 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.251e-05/0.009259, allocations: 23.94 kB / 282.1 MB, free: 8.457 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.816e-06/0.009268, allocations: 12 kB / 282.1 MB, free: 8.445 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001725/0.00944, allocations: 142.4 kB / 282.2 MB, free: 8.305 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001187/0.01063, allocations: 1.048 MB / 283.3 MB, free: 7.195 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002585/0.01089, allocations: 184.6 kB / 283.4 MB, free: 7.004 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001218/0.01101, allocations: 101.4 kB / 283.5 MB, free: 6.902 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.734e-05/0.01103, allocations: 8.328 kB / 283.5 MB, free: 6.895 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.01106, allocations: 46.81 kB / 283.6 MB, free: 6.84 MB / 266.7 MB Notification: Performance of pre-optimization done (n=39): time 1.843e-06/0.01107, allocations: 0 / 283.6 MB, free: 6.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=55): time 0.001455/0.01252, allocations: 0.9188 MB / 284.5 MB, free: 5.914 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.811e-05/0.01255, allocations: 59.84 kB / 284.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002185/0.01277, allocations: 359.1 kB / 284.9 MB, free: 5.48 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.01279, allocations: 37.7 kB / 284.9 MB, free: 5.438 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.0129, allocations: 281.2 kB / 285.2 MB, free: 5.16 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.532e-05/0.013, allocations: 190.3 kB / 285.4 MB, free: 4.973 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001034/0.0131, allocations: 118.2 kB / 285.5 MB, free: 4.852 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 9.137e-05/0.01319, allocations: 358.7 kB / 285.9 MB, free: 4.492 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.188e-05/0.01327, allocations: 61.27 kB / 285.9 MB, free: 4.43 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001361/0.01341, allocations: 183.1 kB / 286.1 MB, free: 4.211 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.01365, allocations: 296.1 kB / 286.4 MB, free: 3.879 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.01365, allocations: 0 / 286.4 MB, free: 3.879 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0004492/0.0141, allocations: 438.4 kB / 286.8 MB, free: 3.438 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/0.01412, allocations: 4 kB / 286.8 MB, free: 3.434 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.528e-06/0.01413, allocations: 4 kB / 286.8 MB, free: 3.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005132/0.01465, allocations: 229.6 kB / 287.1 MB, free: 3.203 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002879/0.01493, allocations: 127.7 kB / 287.2 MB, free: 3.078 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1151/0.13, allocations: 3.28 MB / 290.5 MB, free: 24.12 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000294/0.1303, allocations: 29.39 kB / 290.5 MB, free: 24.12 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.334e-05/0.1303, allocations: 19.2 kB / 290.5 MB, free: 24.12 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 (58): * Single equations (assignments): 56 * 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,12,100.0%), (1,12,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.1305, allocations: 148.6 kB / 290.7 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.381e-05/0.1305, allocations: 44.08 kB / 290.7 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.653e-05/0.1306, allocations: 59.56 kB / 290.8 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.1306, allocations: 6.031 kB / 290.8 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.401e-05/0.1306, allocations: 5.547 kB / 290.8 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.743e-06/0.1306, allocations: 4.125 kB / 290.8 MB, free: 24 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009828/0.1316, allocations: 0.7301 MB / 291.5 MB, free: 23.76 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.1316, allocations: 1.094 kB / 291.5 MB, free: 23.76 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.1318, allocations: 64.45 kB / 291.6 MB, free: 23.76 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004922/0.1323, allocations: 215.4 kB / 291.8 MB, free: 23.74 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.1323, allocations: 10.98 kB / 291.8 MB, free: 23.74 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001528/0.1338, allocations: 3.184 MB / 295 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.1338, allocations: 1.156 kB / 295 MB, free: 21.21 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004101/0.1342, allocations: 454.2 kB / 295.4 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.414e-05/0.1343, allocations: 39.86 kB / 295.5 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.819e-05/0.1343, allocations: 13.92 kB / 295.5 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.1344, allocations: 17.28 kB / 295.5 MB, free: 21.01 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.228e-05/0.1345, allocations: 50.84 kB / 295.5 MB, free: 21 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.1345, allocations: 10.91 kB / 295.6 MB, free: 21 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001279/0.1346, allocations: 149.7 kB / 295.7 MB, free: 20.99 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1346, allocations: 1.094 kB / 295.7 MB, free: 20.99 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004959/0.1351, allocations: 154.8 kB / 295.8 MB, free: 20.99 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (35): * Single equations (assignments): 33 * 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,10,100.0%), (1,10,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 9.593e-05/0.1352, allocations: 96.66 kB / 295.9 MB, free: 20.92 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0005788/0.1358, allocations: 0.5867 MB / 296.5 MB, free: 20.67 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/0.1358, allocations: 5.094 kB / 296.5 MB, free: 20.67 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002961/0.1361, allocations: 447.3 kB / 297 MB, free: 20.42 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002308/0.1363, allocations: 49.56 kB / 297 MB, free: 20.41 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.1374, allocations: 0.8883 MB / 297.9 MB, free: 19.96 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001031/0.1375, allocations: 134.5 kB / 298 MB, free: 19.89 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 0.0001099/0.1376, allocations: 44.89 kB / 298.1 MB, free: 19.88 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000107/0.1377, allocations: 93.86 kB / 298.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of SimCode: time 7.01e-07/0.1377, allocations: 0 / 298.2 MB, free: 19.84 MB / 266.7 MB Notification: Performance of Templates: time 0.008564/0.1463, allocations: 5.511 MB / 303.7 MB, free: 18.7 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.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.6973186540417373]