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.001808/0.001808, allocations: 109.8 kB / 19.17 MB, free: 3.871 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.002326/0.002326, allocations: 208.9 kB / 22.13 MB, free: 0.918 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.519/1.519, allocations: 230.2 MB / 255.2 MB, free: 15.24 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.00186/0.00186, allocations: 67.88 kB / 374.5 MB, free: 9.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0914/0.09326, allocations: 53.32 MB / 427.8 MB, free: 4.484 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004923/0.09818, allocations: 3.538 MB / 431.4 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.184/0.2822, allocations: 0.9761 MB / 432.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004529/0.2827, allocations: 6.25 kB / 432.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000332/0.283, allocations: 94.27 kB / 432.5 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004299/0.2834, allocations: 167.5 kB / 432.6 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003794/0.2838, allocations: 171.8 kB / 432.8 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005894/0.2844, allocations: 0.633 MB / 433.4 MB, free: 8.094 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002328/0.2846, allocations: 142.5 kB / 433.6 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002514/0.2849, allocations: 241.5 kB / 433.8 MB, free: 8.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002718/0.2852, allocations: 276.5 kB / 434.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.226e-05/0.2852, allocations: 52.72 kB / 434.1 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.958e-05/0.2853, allocations: 52.97 kB / 434.2 MB, free: 7.957 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.063e-05/0.2854, allocations: 121.3 kB / 434.3 MB, free: 7.938 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001849/0.2856, allocations: 288.7 kB / 434.6 MB, free: 7.848 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005337/0.2861, allocations: 0.6343 MB / 435.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2861, allocations: 2.281 kB / 435.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.2861, allocations: 0 / 435.2 MB, free: 7.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.939e-06/0.2861, allocations: 3.188 kB / 435.2 MB, free: 7.734 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.001415/0.2875, allocations: 0.8716 MB / 436.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.2876, allocations: 12.84 kB / 436.1 MB, free: 7.176 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001007/0.2877, allocations: 67.8 kB / 436.2 MB, free: 7.141 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004459/0.2881, allocations: 357.4 kB / 436.5 MB, free: 6.895 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.387e-05/0.2881, allocations: 36.88 kB / 436.5 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.831e-05/0.2882, allocations: 52.62 kB / 436.6 MB, free: 6.891 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008092/0.289, allocations: 439.3 kB / 437 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.289, allocations: 2.781 kB / 437 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.2891, allocations: 19.62 kB / 437 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.239e-05/0.2891, allocations: 15.66 kB / 437.1 MB, free: 6.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008347/0.2899, allocations: 388.8 kB / 437.4 MB, free: 6.836 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.2923, allocations: 1.584 MB / 439 MB, free: 5.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000672/0.293, allocations: 383.9 kB / 439.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000379/0.2933, allocations: 161.5 kB / 439.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.2934, allocations: 5.469 kB / 439.6 MB, free: 5.66 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.401e-05/0.2934, allocations: 37.08 kB / 439.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of pre-optimization done (n=39): time 2.334e-06/0.2934, allocations: 3.672 kB / 439.6 MB, free: 5.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=55): time 0.003316/0.2967, allocations: 1.189 MB / 440.8 MB, free: 5.145 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.51e-05/0.2967, allocations: 63.14 kB / 440.9 MB, free: 5.078 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004311/0.2972, allocations: 409.5 kB / 441.3 MB, free: 4.875 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.2972, allocations: 35.86 kB / 441.3 MB, free: 4.836 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001373/0.2973, allocations: 318.8 kB / 441.6 MB, free: 4.574 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000101/0.2974, allocations: 194.5 kB / 441.8 MB, free: 4.426 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001532/0.2976, allocations: 110.8 kB / 441.9 MB, free: 4.359 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 7.574e-05/0.2976, allocations: 357.2 kB / 442.2 MB, free: 4.027 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004309/0.2981, allocations: 178.5 kB / 442.4 MB, free: 3.973 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004732/0.2986, allocations: 296.7 kB / 442.7 MB, free: 3.785 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009772/0.2995, allocations: 497.2 kB / 443.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.2995, allocations: 1.062 kB / 443.2 MB, free: 3.496 MB / 350.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001441/0.301, allocations: 0.7427 MB / 443.9 MB, free: 3.172 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.036e-05/0.301, allocations: 11.75 kB / 444 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.387e-06/0.301, allocations: 2.219 kB / 444 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005478/0.3016, allocations: 182 kB / 444.1 MB, free: 3.113 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/0.302, allocations: 112.2 kB / 444.2 MB, free: 3.102 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003644/0.3057, allocations: 4.269 MB / 448.5 MB, free: 15.43 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004867/0.3062, allocations: 39.88 kB / 448.5 MB, free: 15.41 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.978e-05/0.3062, allocations: 21.89 kB / 448.6 MB, free: 15.4 MB / 366.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.0002676/0.3065, allocations: 185.2 kB / 448.8 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.292e-05/0.3066, allocations: 50.73 kB / 448.8 MB, free: 15.21 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001594/0.3067, allocations: 62.08 kB / 448.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.3067, allocations: 8.938 kB / 448.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.846e-05/0.3068, allocations: 8.406 kB / 448.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.925e-06/0.3068, allocations: 3.844 kB / 448.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002543/0.3093, allocations: 1.292 MB / 450.2 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.3093, allocations: 5.156 kB / 450.2 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003057/0.3096, allocations: 74.08 kB / 450.3 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000456/0.3101, allocations: 157 kB / 450.4 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.34e-05/0.3101, allocations: 15.95 kB / 450.4 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004643/0.3147, allocations: 4.105 MB / 454.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.3148, allocations: 2.344 kB / 454.5 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001522/0.3163, allocations: 0.6954 MB / 455.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001812/0.3165, allocations: 127.2 kB / 455.3 MB, free: 10.23 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.3165, allocations: 15.53 kB / 455.4 MB, free: 10.22 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003112/0.3168, allocations: 23.67 kB / 455.4 MB, free: 10.21 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001313/0.317, allocations: 44.77 kB / 455.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.788e-05/0.317, allocations: 19.27 kB / 455.4 MB, free: 10.2 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004131/0.3174, allocations: 282.2 kB / 455.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3174, allocations: 0 / 455.7 MB, free: 10.06 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008487/0.3182, allocations: 150.1 kB / 455.9 MB, free: 10.04 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.0001852/0.3184, allocations: 119.9 kB / 456 MB, free: 9.934 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001786/0.3202, allocations: 0.7557 MB / 456.7 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.3202, allocations: 1.375 kB / 456.7 MB, free: 9.512 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009417/0.3212, allocations: 0.5112 MB / 457.3 MB, free: 9.172 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004968/0.3217, allocations: 54.8 kB / 457.3 MB, free: 9.137 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002152/0.3238, allocations: 0.9948 MB / 458.3 MB, free: 8.547 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000636/0.3244, allocations: 0.8611 MB / 459.2 MB, free: 7.84 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001436/0.3246, allocations: 33.55 kB / 459.2 MB, free: 7.832 MB / 366.1 MB Notification: Performance of SimCode: time 6.82e-07/0.3246, allocations: 192 / 459.2 MB, free: 7.832 MB / 366.1 MB Notification: Performance of Templates: time 0.01737/0.342, allocations: 9.872 MB / 469.1 MB, free: 3.465 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 7.642216574167833]