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.001806/0.001806, allocations: 96.25 kB / 20.96 MB, free: 3.469 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.002121/0.002121, allocations: 156.9 kB / 24.27 MB, free: 168 kB / 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.587/1.587, allocations: 177 MB / 204.4 MB, free: 5.633 MB / 186.7 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 1.473e-06/1.473e-06, allocations: 0 / 272.2 MB, free: 1.816 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.208e-05/3.355e-05, allocations: 10.25 kB / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004734/0.004768, allocations: 2.65 MB / 274.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001551/0.006319, allocations: 0.7476 MB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001316/0.006451, allocations: 4 kB / 275.6 MB, free: 14.38 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002252/0.006676, allocations: 67.44 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002964/0.006973, allocations: 107.2 kB / 275.8 MB, free: 14.21 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002777/0.00725, allocations: 107.7 kB / 275.9 MB, free: 14.1 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004522/0.007702, allocations: 406.2 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002008/0.007903, allocations: 95.34 kB / 276.4 MB, free: 13.62 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004077/0.008311, allocations: 235.4 kB / 276.6 MB, free: 13.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002751/0.008586, allocations: 123.6 kB / 276.7 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.467e-05/0.008641, allocations: 36 kB / 276.8 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.861e-05/0.008699, allocations: 32 kB / 276.8 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 8.786e-05/0.008787, allocations: 75.72 kB / 276.9 MB, free: 13.12 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001463/0.008933, allocations: 119.7 kB / 277 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004869/0.00942, allocations: 402.7 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.009424, allocations: 0 / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.12e-07/0.009425, allocations: 3.938 kB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.971e-06/0.009431, allocations: 7.938 kB / 277.4 MB, free: 12.6 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.001176/0.01061, allocations: 0.5636 MB / 277.9 MB, free: 12 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.01065, allocations: 11.98 kB / 278 MB, free: 11.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001332/0.01078, allocations: 64.7 kB / 278 MB, free: 11.93 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003963/0.01118, allocations: 226 kB / 278.2 MB, free: 11.68 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.54e-05/0.01121, allocations: 25.03 kB / 278.3 MB, free: 11.66 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.297e-05/0.01127, allocations: 32.38 kB / 278.3 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006439/0.01192, allocations: 282.6 kB / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.01193, allocations: 192 / 278.6 MB, free: 11.34 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.297e-05/0.01198, allocations: 20.36 kB / 278.6 MB, free: 11.32 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.01199, allocations: 11.94 kB / 278.6 MB, free: 11.31 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006613/0.01265, allocations: 246.5 kB / 278.8 MB, free: 11.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001736/0.01439, allocations: 0.8791 MB / 279.7 MB, free: 10.13 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004081/0.01479, allocations: 146.5 kB / 279.9 MB, free: 9.977 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001985/0.01499, allocations: 64.81 kB / 279.9 MB, free: 9.91 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.01502, allocations: 4 kB / 279.9 MB, free: 9.906 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.751e-05/0.01505, allocations: 38.56 kB / 280 MB, free: 9.859 MB / 266.7 MB Notification: Performance of pre-optimization done (n=17): time 9.92e-07/0.01506, allocations: 0 / 280 MB, free: 9.859 MB / 266.7 MB Notification: Performance of matching and sorting (n=22): time 0.002224/0.01728, allocations: 0.6062 MB / 280.6 MB, free: 9.242 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/0.01733, allocations: 55.41 kB / 280.6 MB, free: 9.176 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.01765, allocations: 269.8 kB / 280.9 MB, free: 8.902 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.077e-05/0.01768, allocations: 29.7 kB / 280.9 MB, free: 8.867 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000183/0.01787, allocations: 228 kB / 281.1 MB, free: 8.637 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.293e-05/0.01795, allocations: 87.31 kB / 281.2 MB, free: 8.551 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001068/0.01806, allocations: 57.66 kB / 281.3 MB, free: 8.488 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001918/0.01825, allocations: 346.8 kB / 281.6 MB, free: 8.141 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000322/0.01857, allocations: 99.86 kB / 281.7 MB, free: 8.043 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.01897, allocations: 188.2 kB / 281.9 MB, free: 7.812 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007063/0.01967, allocations: 301.1 kB / 282.2 MB, free: 7.477 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.07e-06/0.01968, allocations: 7.938 kB / 282.2 MB, free: 7.469 MB / 266.7 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001007/0.02068, allocations: 413.4 kB / 282.6 MB, free: 7.055 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.06e-05/0.02071, allocations: 8 kB / 282.6 MB, free: 7.047 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.02072, allocations: 4 kB / 282.6 MB, free: 7.043 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005355/0.02125, allocations: 77.66 kB / 282.7 MB, free: 6.961 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003457/0.0216, allocations: 67.89 kB / 282.8 MB, free: 6.895 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002744/0.02434, allocations: 2.588 MB / 285.4 MB, free: 4.105 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002836/0.02463, allocations: 19.98 kB / 285.4 MB, free: 4.086 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.227e-05/0.02466, allocations: 19.98 kB / 285.4 MB, free: 4.066 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.0001819/0.02484, allocations: 153.7 kB / 285.5 MB, free: 3.906 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.02491, allocations: 35.81 kB / 285.6 MB, free: 3.871 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.88e-05/0.02499, allocations: 34.2 kB / 285.6 MB, free: 3.832 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.02499, allocations: 4 kB / 285.6 MB, free: 3.828 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.73e-06/0.025, allocations: 4.062 kB / 285.6 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.025, allocations: 0 / 285.6 MB, free: 3.824 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003353/0.02534, allocations: 229.2 kB / 285.8 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.02534, allocations: 0 / 285.8 MB, free: 3.57 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002227/0.02556, allocations: 35.97 kB / 285.9 MB, free: 3.535 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004143/0.02597, allocations: 73.66 kB / 286 MB, free: 3.457 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.249e-05/0.026, allocations: 11.94 kB / 286 MB, free: 3.445 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002351/0.02835, allocations: 2.577 MB / 288.5 MB, free: 0.6641 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/0.02835, allocations: 3.938 kB / 288.5 MB, free: 0.6602 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008241/0.02918, allocations: 384.2 kB / 288.9 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.04e-05/0.02922, allocations: 19.81 kB / 288.9 MB, free: 252 kB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.54e-05/0.02925, allocations: 8 kB / 289 MB, free: 244 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002177/0.02947, allocations: 16.05 kB / 289 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/0.02954, allocations: 23.89 kB / 289 MB, free: 204 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.48e-05/0.02956, allocations: 8 kB / 289 MB, free: 196 kB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0002006/0.02976, allocations: 185.2 kB / 289.2 MB, free: 16 kB / 266.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02976, allocations: 0 / 289.2 MB, free: 16 kB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004232/0.03018, allocations: 76.05 kB / 289.3 MB, free: 15.94 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.0001351/0.03032, allocations: 91.25 kB / 289.3 MB, free: 15.84 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001033/0.03135, allocations: 475.9 kB / 289.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.03135, allocations: 0.8125 kB / 289.8 MB, free: 15.36 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006056/0.03196, allocations: 349 kB / 290.1 MB, free: 14.99 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003664/0.03233, allocations: 36.42 kB / 290.2 MB, free: 14.95 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.03349, allocations: 0.5361 MB / 290.7 MB, free: 14.39 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.03388, allocations: 168.8 kB / 290.9 MB, free: 14.21 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001256/0.03401, allocations: 30.27 kB / 290.9 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.277e-05/0.03408, allocations: 20.5 kB / 290.9 MB, free: 14.16 MB / 282.7 MB Notification: Performance of SimCode: time 8.12e-07/0.03408, allocations: 0 / 290.9 MB, free: 14.16 MB / 282.7 MB Notification: Performance of Templates: time 0.007573/0.04166, allocations: 2.783 MB / 293.7 MB, free: 11.4 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=480 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins/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.508545543067157]