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.001631/0.001631, allocations: 106.5 kB / 21.22 MB, free: 0.6797 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.001956/0.001956, allocations: 208.4 kB / 24.54 MB, free: 4.055 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.476/1.476, allocations: 230.3 MB / 258 MB, free: 8.25 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.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 0.001901/0.001901, allocations: 63.89 kB / 378.8 MB, free: 2.863 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2551/0.257, allocations: 53.38 MB / 432.1 MB, free: 7.062 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005171/0.2622, allocations: 3.558 MB / 435.7 MB, free: 3.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.2641, allocations: 0.9736 MB / 436.7 MB, free: 2.512 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002074/0.2643, allocations: 8 kB / 436.7 MB, free: 2.504 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003055/0.2646, allocations: 99.08 kB / 436.8 MB, free: 2.406 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004009/0.265, allocations: 162.7 kB / 436.9 MB, free: 2.246 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003706/0.2654, allocations: 175.7 kB / 437.1 MB, free: 2.074 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006508/0.2661, allocations: 0.6309 MB / 437.7 MB, free: 1.441 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002659/0.2663, allocations: 147.9 kB / 437.9 MB, free: 1.293 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002889/0.2666, allocations: 239.1 kB / 438.1 MB, free: 1.059 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003268/0.2669, allocations: 282.6 kB / 438.4 MB, free: 0.7812 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.559e-05/0.267, allocations: 52 kB / 438.4 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.986e-05/0.2671, allocations: 52 kB / 438.5 MB, free: 0.6797 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001166/0.2672, allocations: 123.5 kB / 438.6 MB, free: 0.5586 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002751/0.2675, allocations: 282.5 kB / 438.9 MB, free: 288 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007582/0.2683, allocations: 0.6338 MB / 439.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2683, allocations: 3.938 kB / 439.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.014e-06/0.2683, allocations: 0 / 439.5 MB, free: 15.64 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.068e-05/0.2683, allocations: 4 kB / 439.5 MB, free: 15.64 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.001616/0.2699, allocations: 0.7972 MB / 440.3 MB, free: 14.81 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.2699, allocations: 12.03 kB / 440.3 MB, free: 14.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001103/0.2701, allocations: 64.52 kB / 440.4 MB, free: 14.73 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.2706, allocations: 298.1 kB / 440.7 MB, free: 14.42 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.075e-05/0.2706, allocations: 37.69 kB / 440.7 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.785e-05/0.2707, allocations: 48.38 kB / 440.8 MB, free: 14.33 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008938/0.2716, allocations: 442.4 kB / 441.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.432e-05/0.2716, allocations: 0 / 441.2 MB, free: 13.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.989e-05/0.2717, allocations: 24 kB / 441.2 MB, free: 13.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.2717, allocations: 12 kB / 441.2 MB, free: 13.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009075/0.2726, allocations: 389 kB / 441.6 MB, free: 13.48 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002628/0.2752, allocations: 1.512 MB / 443.1 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007281/0.2759, allocations: 315.1 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004259/0.2764, allocations: 157.4 kB / 443.6 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.832e-05/0.2764, allocations: 8.312 kB / 443.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.547e-05/0.2764, allocations: 38.89 kB / 443.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 1.663e-06/0.2764, allocations: 96 / 443.6 MB, free: 11.34 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.0035/0.2799, allocations: 1.203 MB / 444.8 MB, free: 10.13 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.583e-05/0.28, allocations: 59.91 kB / 444.9 MB, free: 10.06 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004856/0.2805, allocations: 413.5 kB / 445.3 MB, free: 9.648 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.797e-05/0.2805, allocations: 37.7 kB / 445.3 MB, free: 9.605 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002398/0.2808, allocations: 312.6 kB / 445.6 MB, free: 9.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001558/0.2809, allocations: 194.3 kB / 445.8 MB, free: 9.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001845/0.2811, allocations: 110.3 kB / 445.9 MB, free: 8.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.2813, allocations: 354.8 kB / 446.3 MB, free: 8.633 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005036/0.2818, allocations: 185.1 kB / 446.5 MB, free: 8.449 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005583/0.2823, allocations: 299.1 kB / 446.8 MB, free: 8.113 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001049/0.2834, allocations: 500 kB / 447.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.191e-05/0.2834, allocations: 4 kB / 447.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001581/0.285, allocations: 0.7367 MB / 448 MB, free: 6.832 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.285, allocations: 8 kB / 448 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.285, allocations: 0 / 448 MB, free: 6.824 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005825/0.2856, allocations: 189.2 kB / 448.2 MB, free: 6.637 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005307/0.2861, allocations: 111.9 kB / 448.3 MB, free: 6.527 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004685/0.2908, allocations: 4.078 MB / 452.4 MB, free: 2.223 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004603/0.2913, allocations: 31.92 kB / 452.4 MB, free: 2.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.708e-05/0.2913, allocations: 31.94 kB / 452.4 MB, free: 2.16 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 (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.0002618/0.2916, allocations: 169.8 kB / 452.6 MB, free: 1.984 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.548e-05/0.2917, allocations: 47.72 kB / 452.6 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001389/0.2918, allocations: 69.08 kB / 452.7 MB, free: 1.871 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.2918, allocations: 4 kB / 452.7 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.597e-05/0.2918, allocations: 7.984 kB / 452.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.2918, allocations: 0 / 452.7 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002524/0.2943, allocations: 1.272 MB / 454 MB, free: 0.5234 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.2943, allocations: 3.938 kB / 454 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003264/0.2947, allocations: 75.83 kB / 454.1 MB, free: 456 kB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004437/0.2951, allocations: 157.6 kB / 454.2 MB, free: 292 kB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.844e-05/0.2951, allocations: 8 kB / 454.2 MB, free: 284 kB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004205/0.2993, allocations: 3.895 MB / 458.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.2993, allocations: 0 / 458.1 MB, free: 12.16 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.3008, allocations: 0.7002 MB / 458.8 MB, free: 11.43 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001392/0.3009, allocations: 51.59 kB / 458.9 MB, free: 11.38 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.769e-05/0.301, allocations: 15.94 kB / 458.9 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/0.3013, allocations: 27.97 kB / 458.9 MB, free: 11.33 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.3014, allocations: 44.36 kB / 459 MB, free: 11.29 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.3015, allocations: 11.98 kB / 459 MB, free: 11.28 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0003784/0.3018, allocations: 287.2 kB / 459.3 MB, free: 11 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3018, allocations: 4 kB / 459.3 MB, free: 10.99 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007351/0.3026, allocations: 152 kB / 459.4 MB, free: 10.84 MB / 366.1 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 0.000141/0.3027, allocations: 107.2 kB / 459.5 MB, free: 10.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001651/0.3044, allocations: 0.7657 MB / 460.3 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.3044, allocations: 0 / 460.3 MB, free: 9.926 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008788/0.3053, allocations: 0.5075 MB / 460.8 MB, free: 9.391 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.3057, allocations: 49.14 kB / 460.8 MB, free: 9.348 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001881/0.3076, allocations: 0.9712 MB / 461.8 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004954/0.3081, allocations: 0.8631 MB / 462.7 MB, free: 7.445 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001734/0.3082, allocations: 44.36 kB / 462.7 MB, free: 7.398 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.743e-05/0.3083, allocations: 27.44 kB / 462.7 MB, free: 7.371 MB / 366.1 MB Notification: Performance of SimCode: time 1.222e-06/0.3083, allocations: 192 / 462.7 MB, free: 7.371 MB / 366.1 MB Notification: Performance of Templates: time 0.01199/0.3203, allocations: 5.591 MB / 468.3 MB, free: 1.781 MB / 366.1 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.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.733149888925254]