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.001301/0.001301, allocations: 116.9 kB / 18.41 MB, free: 4.516 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.001272/0.001273, allocations: 186.9 kB / 21.34 MB, free: 1.59 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.395/1.395, allocations: 222.9 MB / 247 MB, free: 4.199 MB / 190.1 MB " [Timeout remaining time 179] 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 0.00151/0.00151, allocations: 43.92 kB / 358.7 MB, free: 8.312 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09793/0.09945, allocations: 49.44 MB / 408.1 MB, free: 6.824 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004435/0.1039, allocations: 2.799 MB / 410.9 MB, free: 4.016 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001397/0.1053, allocations: 0.7399 MB / 411.6 MB, free: 3.27 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001303/0.1055, allocations: 4 kB / 411.6 MB, free: 3.266 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000221/0.1057, allocations: 67.42 kB / 411.7 MB, free: 3.199 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002626/0.106, allocations: 91.19 kB / 411.8 MB, free: 3.109 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002605/0.1063, allocations: 103.8 kB / 411.9 MB, free: 3.008 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004244/0.1067, allocations: 386.5 kB / 412.3 MB, free: 2.629 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002278/0.107, allocations: 134.8 kB / 412.4 MB, free: 2.492 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002436/0.1072, allocations: 159.4 kB / 412.6 MB, free: 2.336 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002259/0.1074, allocations: 167.3 kB / 412.7 MB, free: 2.172 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.524e-05/0.1075, allocations: 32 kB / 412.8 MB, free: 2.141 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.075e-05/0.1076, allocations: 36 kB / 412.8 MB, free: 2.105 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.746e-05/0.1077, allocations: 75.69 kB / 412.9 MB, free: 2.031 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001823/0.1078, allocations: 179.1 kB / 413 MB, free: 1.855 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004542/0.1083, allocations: 386.4 kB / 413.4 MB, free: 1.477 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1083, allocations: 4 kB / 413.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1083, allocations: 0 / 413.4 MB, free: 1.473 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.1083, allocations: 0 / 413.4 MB, free: 1.473 MB / 334.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.001194/0.1095, allocations: 0.6467 MB / 414.1 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.1096, allocations: 15.88 kB / 414.1 MB, free: 0.7617 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.047e-05/0.1097, allocations: 40.64 kB / 414.1 MB, free: 0.7227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003996/0.1101, allocations: 280.1 kB / 414.4 MB, free: 420 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.016e-05/0.1101, allocations: 25.02 kB / 414.4 MB, free: 396 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.416e-05/0.1102, allocations: 36.38 kB / 414.5 MB, free: 360 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006101/0.1108, allocations: 290.4 kB / 414.7 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.284e-05/0.1108, allocations: 0 / 414.7 MB, free: 60 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.029e-05/0.1108, allocations: 12 kB / 414.8 MB, free: 48 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.1109, allocations: 8 kB / 414.8 MB, free: 40 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006522/0.1115, allocations: 250.4 kB / 415 MB, free: 15.8 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001777/0.1133, allocations: 1.105 MB / 416.1 MB, free: 14.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003975/0.1137, allocations: 162.4 kB / 416.3 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001966/0.1139, allocations: 68.81 kB / 416.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.996e-05/0.114, allocations: 3.984 kB / 416.3 MB, free: 14.35 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.832e-05/0.114, allocations: 42.5 kB / 416.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 3.186e-06/0.114, allocations: 4 kB / 416.4 MB, free: 14.29 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.002128/0.1162, allocations: 0.5839 MB / 417 MB, free: 13.7 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.208e-05/0.1162, allocations: 59.34 kB / 417 MB, free: 13.63 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003098/0.1165, allocations: 270.5 kB / 417.3 MB, free: 13.36 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.729e-05/0.1166, allocations: 29.7 kB / 417.3 MB, free: 13.33 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.1167, allocations: 228.1 kB / 417.5 MB, free: 13.1 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.665e-05/0.1168, allocations: 83.33 kB / 417.6 MB, free: 13.02 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.1169, allocations: 65.64 kB / 417.7 MB, free: 12.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001691/0.1171, allocations: 334.8 kB / 418 MB, free: 12.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003047/0.1174, allocations: 95.94 kB / 418.1 MB, free: 12.52 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003877/0.1178, allocations: 200 kB / 418.3 MB, free: 12.28 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006766/0.1185, allocations: 306.8 kB / 418.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1185, allocations: 0 / 418.6 MB, free: 11.94 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009015/0.1194, allocations: 393.4 kB / 419 MB, free: 11.54 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.709e-05/0.1194, allocations: 4 kB / 419 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.1195, allocations: 7.938 kB / 419 MB, free: 11.53 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002554/0.1197, allocations: 61.67 kB / 419.1 MB, free: 11.46 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000324/0.12, allocations: 75.89 kB / 419.1 MB, free: 11.39 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002316/0.1224, allocations: 2.833 MB / 422 MB, free: 8.273 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.1227, allocations: 23.97 kB / 422 MB, free: 8.25 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.818e-05/0.1227, allocations: 16 kB / 422 MB, free: 8.234 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.0001635/0.1229, allocations: 149.7 kB / 422.2 MB, free: 8.078 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.1229, allocations: 27.81 kB / 422.2 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.37e-05/0.123, allocations: 38.23 kB / 422.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.123, allocations: 0 / 422.2 MB, free: 8.012 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.237e-06/0.123, allocations: 4 kB / 422.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.123, allocations: 0 / 422.2 MB, free: 8.008 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.1234, allocations: 333.4 kB / 422.5 MB, free: 7.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/0.1234, allocations: 4 kB / 422.6 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002075/0.1237, allocations: 39.91 kB / 422.6 MB, free: 7.59 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001573/0.1238, allocations: 57.67 kB / 422.6 MB, free: 7.527 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.181e-05/0.1239, allocations: 4 kB / 422.7 MB, free: 7.523 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002223/0.1261, allocations: 2.829 MB / 425.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.1261, allocations: 0 / 425.5 MB, free: 4.418 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007747/0.1269, allocations: 379.7 kB / 425.9 MB, free: 4.027 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.127, allocations: 100.9 kB / 426 MB, free: 3.91 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.412e-05/0.127, allocations: 8 kB / 426 MB, free: 3.902 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002088/0.1272, allocations: 19.97 kB / 426 MB, free: 3.883 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.711e-05/0.1273, allocations: 15.92 kB / 426 MB, free: 3.867 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.443e-05/0.1273, allocations: 8 kB / 426 MB, free: 3.859 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001927/0.1275, allocations: 186 kB / 426.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1275, allocations: 0 / 426.2 MB, free: 3.68 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003984/0.1279, allocations: 76 kB / 426.3 MB, free: 3.605 MB / 350.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.0001401/0.1281, allocations: 107.1 kB / 426.4 MB, free: 3.492 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001014/0.1291, allocations: 481 kB / 426.8 MB, free: 2.996 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.1291, allocations: 3.938 kB / 426.8 MB, free: 2.992 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005325/0.1296, allocations: 346.1 kB / 427.2 MB, free: 2.629 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003303/0.13, allocations: 41.17 kB / 427.2 MB, free: 2.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00107/0.1311, allocations: 0.5757 MB / 427.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004196/0.1315, allocations: 0.7714 MB / 428.6 MB, free: 1.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.391e-05/0.1316, allocations: 23.44 kB / 428.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1316, allocations: 0 / 428.6 MB, free: 1.156 MB / 350.1 MB Notification: Performance of Templates: time 0.1862/0.3178, allocations: 5.874 MB / 434.5 MB, free: 21.61 MB / 350.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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.52594736404717]