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.001626/0.001626, allocations: 78.8 kB / 21.24 MB, free: 0.543 MB / 14.72 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.001767/0.001767, allocations: 161 kB / 24.5 MB, free: 3.719 MB / 14.72 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.418/1.418, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] 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 0.001951/0.001951, allocations: 62.73 kB / 325.5 MB, free: 192 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09809/0.1, allocations: 53.38 MB / 378.9 MB, free: 15.48 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.005653/0.1057, allocations: 2.666 MB / 381.6 MB, free: 12.8 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001558/0.1073, allocations: 0.7399 MB / 382.3 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.1074, allocations: 11.94 kB / 382.3 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002197/0.1076, allocations: 67.42 kB / 382.4 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002612/0.1079, allocations: 103.2 kB / 382.5 MB, free: 11.87 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000261/0.1081, allocations: 99.81 kB / 382.6 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004097/0.1085, allocations: 398.5 kB / 383 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001903/0.1087, allocations: 91.28 kB / 383.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002838/0.109, allocations: 163.4 kB / 383.2 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002117/0.1092, allocations: 147.2 kB / 383.4 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 5.355e-05/0.1093, allocations: 32 kB / 383.4 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.213e-05/0.1093, allocations: 32 kB / 383.4 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.562e-05/0.1094, allocations: 79.75 kB / 383.5 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001961/0.1096, allocations: 143.2 kB / 383.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004261/0.11, allocations: 398.3 kB / 384 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.11, allocations: 0 / 384 MB, free: 10.32 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.342e-06/0.11, allocations: 4 kB / 384 MB, free: 10.31 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.11, allocations: 0 / 384 MB, free: 10.31 MB / 350.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.001125/0.1112, allocations: 0.5753 MB / 384.6 MB, free: 9.707 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.1112, allocations: 15.98 kB / 384.6 MB, free: 9.691 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.23e-05/0.1113, allocations: 36.7 kB / 384.7 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003769/0.1117, allocations: 222.8 kB / 384.9 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.139e-05/0.1117, allocations: 21.03 kB / 384.9 MB, free: 9.387 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.658e-05/0.1117, allocations: 32.38 kB / 384.9 MB, free: 9.355 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005931/0.1123, allocations: 286.4 kB / 385.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.1124, allocations: 0 / 385.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.108e-05/0.1124, allocations: 16 kB / 385.2 MB, free: 9.055 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.488e-06/0.1124, allocations: 8 kB / 385.2 MB, free: 9.047 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000612/0.113, allocations: 258.3 kB / 385.5 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002/0.115, allocations: 0.8674 MB / 386.4 MB, free: 7.863 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005611/0.1156, allocations: 154.4 kB / 386.5 MB, free: 7.703 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002751/0.1158, allocations: 64.81 kB / 386.6 MB, free: 7.637 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.336e-05/0.1159, allocations: 3.938 kB / 386.6 MB, free: 7.633 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1159, allocations: 34.56 kB / 386.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.853e-06/0.1159, allocations: 0 / 386.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002917/0.1188, allocations: 0.602 MB / 387.2 MB, free: 6.977 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.804e-05/0.1189, allocations: 55.41 kB / 387.3 MB, free: 6.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003883/0.1193, allocations: 269.8 kB / 387.5 MB, free: 6.641 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.1193, allocations: 25.7 kB / 387.6 MB, free: 6.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/0.1195, allocations: 232.1 kB / 387.8 MB, free: 6.375 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.979e-05/0.1196, allocations: 83.27 kB / 387.9 MB, free: 6.293 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001467/0.1197, allocations: 81.36 kB / 387.9 MB, free: 6.207 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001921/0.1199, allocations: 338.8 kB / 388.3 MB, free: 5.867 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000417/0.1203, allocations: 91.94 kB / 388.4 MB, free: 5.777 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005032/0.1208, allocations: 192.3 kB / 388.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008584/0.1217, allocations: 301.1 kB / 388.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.1217, allocations: 0 / 388.8 MB, free: 5.207 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001271/0.123, allocations: 389.3 kB / 389.2 MB, free: 4.816 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.262e-05/0.123, allocations: 8 kB / 389.2 MB, free: 4.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.123, allocations: 4 kB / 389.2 MB, free: 4.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003245/0.1233, allocations: 65.73 kB / 389.3 MB, free: 4.734 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004823/0.1238, allocations: 75.89 kB / 389.4 MB, free: 4.66 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00308/0.1269, allocations: 2.584 MB / 392 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004124/0.1273, allocations: 24.11 kB / 392 MB, free: 1.848 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.912e-05/0.1273, allocations: 16 kB / 392 MB, free: 1.832 MB / 350.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.0002233/0.1276, allocations: 145.8 kB / 392.1 MB, free: 1.68 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.495e-05/0.1277, allocations: 31.75 kB / 392.2 MB, free: 1.648 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.118e-05/0.1277, allocations: 34.2 kB / 392.2 MB, free: 1.617 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.1277, allocations: 4 kB / 392.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.631e-06/0.1278, allocations: 0 / 392.2 MB, free: 1.613 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.226e-06/0.1278, allocations: 3.984 kB / 392.2 MB, free: 1.609 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004458/0.1282, allocations: 225.2 kB / 392.4 MB, free: 1.359 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.95e-06/0.1282, allocations: 3.938 kB / 392.4 MB, free: 1.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003282/0.1285, allocations: 39.91 kB / 392.5 MB, free: 1.316 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002272/0.1288, allocations: 53.67 kB / 392.5 MB, free: 1.258 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.319e-05/0.1288, allocations: 8 kB / 392.5 MB, free: 1.25 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002795/0.1316, allocations: 2.581 MB / 395.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1316, allocations: 0 / 395.1 MB, free: 14.46 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.1326, allocations: 371.8 kB / 395.5 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.917e-05/0.1327, allocations: 31.8 kB / 395.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/0.1327, allocations: 0 / 395.5 MB, free: 14.05 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002966/0.133, allocations: 19.98 kB / 395.5 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.717e-05/0.1331, allocations: 23.89 kB / 395.6 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.027e-05/0.1331, allocations: 7.938 kB / 395.6 MB, free: 14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002566/0.1333, allocations: 185.2 kB / 395.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1333, allocations: 0 / 395.7 MB, free: 13.81 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0006554/0.134, allocations: 68 kB / 395.8 MB, free: 13.75 MB / 366.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.000147/0.1341, allocations: 107.2 kB / 395.9 MB, free: 13.63 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.1354, allocations: 469.1 kB / 396.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1354, allocations: 0 / 396.4 MB, free: 13.15 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007138/0.1361, allocations: 337.2 kB / 396.7 MB, free: 12.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003532/0.1365, allocations: 32.44 kB / 396.7 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001015/0.1375, allocations: 0.5527 MB / 397.3 MB, free: 12.19 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001666/0.1377, allocations: 164.8 kB / 397.4 MB, free: 12.02 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001166/0.1378, allocations: 34.27 kB / 397.5 MB, free: 11.98 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.992e-05/0.1378, allocations: 24.5 kB / 397.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1378, allocations: 0 / 397.5 MB, free: 11.95 MB / 366.1 MB Notification: Performance of Templates: time 0.006802/0.1446, allocations: 2.759 MB / 400.3 MB, free: 9.227 MB / 366.1 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=480 -s ida -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.296413942007348]