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.001643/0.001643, allocations: 109.1 kB / 21.18 MB, free: 0.7578 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.002063/0.002063, allocations: 209.1 kB / 24.49 MB, free: 4.148 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.489/1.489, allocations: 230.5 MB / 258.1 MB, free: 8.008 MB / 206.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.002026/0.002026, allocations: 56.14 kB / 379 MB, free: 2.508 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2536/0.2556, allocations: 53.42 MB / 432.5 MB, free: 6.746 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.004673/0.2603, allocations: 2.855 MB / 435.3 MB, free: 3.879 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001635/0.262, allocations: 0.7983 MB / 436.1 MB, free: 3.074 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001525/0.2621, allocations: 4 kB / 436.1 MB, free: 3.07 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002687/0.2624, allocations: 59.44 kB / 436.2 MB, free: 3.012 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002806/0.2627, allocations: 99.19 kB / 436.3 MB, free: 2.914 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000297/0.2629, allocations: 119.7 kB / 436.4 MB, free: 2.797 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.2634, allocations: 382.6 kB / 436.8 MB, free: 2.422 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002377/0.2636, allocations: 103.3 kB / 436.9 MB, free: 2.32 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000344/0.264, allocations: 159.4 kB / 437 MB, free: 2.164 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.2642, allocations: 175.2 kB / 437.2 MB, free: 1.992 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 5.25e-05/0.2643, allocations: 32 kB / 437.2 MB, free: 1.961 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.691e-05/0.2644, allocations: 35.94 kB / 437.2 MB, free: 1.926 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 7.356e-05/0.2644, allocations: 75.77 kB / 437.3 MB, free: 1.852 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001805/0.2646, allocations: 171.1 kB / 437.5 MB, free: 1.684 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005326/0.2651, allocations: 399.5 kB / 437.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.2651, allocations: 0 / 437.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.2652, allocations: 0 / 437.9 MB, free: 1.297 MB / 334.1 MB Notification: Performance of Transformations before backend: time 1.504e-05/0.2652, allocations: 0 / 437.9 MB, free: 1.297 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.001241/0.2664, allocations: 0.5715 MB / 438.5 MB, free: 0.6953 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/0.2665, allocations: 15.97 kB / 438.5 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.045e-05/0.2665, allocations: 40.69 kB / 438.5 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004203/0.267, allocations: 226.8 kB / 438.7 MB, free: 400 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.267, allocations: 28.97 kB / 438.8 MB, free: 368 kB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.855e-05/0.2671, allocations: 28.38 kB / 438.8 MB, free: 340 kB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006063/0.2677, allocations: 294.4 kB / 439.1 MB, free: 44 kB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.626e-05/0.2677, allocations: 7.922 kB / 439.1 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.197e-05/0.2677, allocations: 12 kB / 439.1 MB, free: 24 kB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.2677, allocations: 4 kB / 439.1 MB, free: 20 kB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006334/0.2683, allocations: 250.5 kB / 439.3 MB, free: 15.78 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001872/0.2702, allocations: 1.045 MB / 440.4 MB, free: 14.64 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003878/0.2706, allocations: 150.4 kB / 440.5 MB, free: 14.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001869/0.2708, allocations: 60.83 kB / 440.6 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.305e-05/0.2708, allocations: 8 kB / 440.6 MB, free: 14.41 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.76e-05/0.2709, allocations: 34.55 kB / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.2709, allocations: 0 / 440.6 MB, free: 14.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.00213/0.273, allocations: 0.5899 MB / 441.2 MB, free: 13.77 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.112e-05/0.273, allocations: 55.41 kB / 441.3 MB, free: 13.71 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003124/0.2733, allocations: 273.7 kB / 441.5 MB, free: 13.43 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.2734, allocations: 29.7 kB / 441.6 MB, free: 13.4 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.2735, allocations: 236 kB / 441.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.257e-05/0.2736, allocations: 71.38 kB / 441.9 MB, free: 13.09 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001051/0.2737, allocations: 69.44 kB / 441.9 MB, free: 13.02 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001699/0.2739, allocations: 338.8 kB / 442.3 MB, free: 12.68 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003011/0.2742, allocations: 95.92 kB / 442.4 MB, free: 12.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003762/0.2746, allocations: 188.1 kB / 442.5 MB, free: 12.35 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006555/0.2752, allocations: 305.1 kB / 442.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.2752, allocations: 4 kB / 442.8 MB, free: 12.01 MB / 350.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0009287/0.2762, allocations: 389.5 kB / 443.2 MB, free: 11.62 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.2762, allocations: 8 kB / 443.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.2762, allocations: 4 kB / 443.2 MB, free: 11.61 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002819/0.2765, allocations: 57.67 kB / 443.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.2768, allocations: 75.89 kB / 443.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002486/0.2793, allocations: 2.63 MB / 446 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003295/0.2797, allocations: 27.92 kB / 446 MB, free: 8.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-05/0.2797, allocations: 19.94 kB / 446 MB, free: 8.562 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.0002109/0.2799, allocations: 161.6 kB / 446.2 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.28, allocations: 23.86 kB / 446.2 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.459e-05/0.2801, allocations: 30.27 kB / 446.3 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2801, allocations: 8.062 kB / 446.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.2801, allocations: 0 / 446.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.097e-06/0.2801, allocations: 0 / 446.3 MB, free: 8.336 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000438/0.2805, allocations: 316.4 kB / 446.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.2805, allocations: 0 / 446.6 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000221/0.2807, allocations: 39.95 kB / 446.6 MB, free: 7.945 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001783/0.2809, allocations: 57.62 kB / 446.7 MB, free: 7.883 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.671e-05/0.2809, allocations: 4 kB / 446.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002322/0.2832, allocations: 2.626 MB / 449.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2832, allocations: 0 / 449.3 MB, free: 5.02 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007841/0.284, allocations: 376.9 kB / 449.7 MB, free: 4.629 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.431e-05/0.2841, allocations: 19.8 kB / 449.7 MB, free: 4.609 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.867e-05/0.2841, allocations: 11.98 kB / 449.7 MB, free: 4.598 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002333/0.2844, allocations: 15.98 kB / 449.7 MB, free: 4.582 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.607e-05/0.2844, allocations: 19.91 kB / 449.7 MB, free: 4.562 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.441e-05/0.2845, allocations: 7.984 kB / 449.7 MB, free: 4.555 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002229/0.2847, allocations: 185.2 kB / 449.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.2847, allocations: 0 / 449.9 MB, free: 4.371 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0004419/0.2851, allocations: 76 kB / 450 MB, free: 4.297 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.0001393/0.2853, allocations: 99.25 kB / 450.1 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001081/0.2863, allocations: 481 kB / 450.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2863, allocations: 0 / 450.6 MB, free: 3.695 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005592/0.2869, allocations: 342 kB / 450.9 MB, free: 3.336 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003606/0.2873, allocations: 23.5 kB / 450.9 MB, free: 3.316 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.2885, allocations: 0.5815 MB / 451.5 MB, free: 2.703 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000447/0.289, allocations: 0.7752 MB / 452.3 MB, free: 1.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.64e-05/0.289, allocations: 27.42 kB / 452.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of SimCode: time 8.22e-07/0.289, allocations: 0 / 452.3 MB, free: 1.875 MB / 350.1 MB Notification: Performance of Templates: time 0.009111/0.2982, allocations: 5.983 MB / 458.3 MB, free: 11.89 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 -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: 7.778098665876314]