Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi|voltageSensor.v",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00162/0.00162, allocations: 186.5 kB / 17.27 MB, free: 4.504 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.417/1.417, allocations: 222.9 MB / 240.9 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009878/0.0009878, allocations: 102.8 kB / 291.2 MB, free: 10.95 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008053/0.0008056, allocations: 35.95 kB / 350 MB, free: 84 kB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2572, allocations: 49.42 MB / 399.5 MB, free: 33.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.005794/0.263, allocations: 3.528 MB / 403 MB, free: 29.85 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001724/0.2648, allocations: 0.9166 MB / 403.9 MB, free: 28.93 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00027/0.2651, allocations: 8 kB / 403.9 MB, free: 28.93 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003104/0.2655, allocations: 75.45 kB / 404 MB, free: 28.85 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004583/0.2659, allocations: 131.1 kB / 404.1 MB, free: 28.72 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004464/0.2664, allocations: 139.8 kB / 404.3 MB, free: 28.59 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005744/0.267, allocations: 0.6075 MB / 404.9 MB, free: 27.98 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000309/0.2673, allocations: 166.3 kB / 405 MB, free: 27.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002948/0.2676, allocations: 223 kB / 405.2 MB, free: 27.59 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002766/0.2679, allocations: 262.7 kB / 405.5 MB, free: 27.33 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 7.637e-05/0.268, allocations: 32 kB / 405.5 MB, free: 27.3 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.015e-05/0.2681, allocations: 39.94 kB / 405.6 MB, free: 27.26 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.817e-05/0.2682, allocations: 103.6 kB / 405.7 MB, free: 27.16 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002348/0.2685, allocations: 270.5 kB / 405.9 MB, free: 26.89 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000521/0.269, allocations: 0.6008 MB / 406.5 MB, free: 26.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.269, allocations: 0 / 406.5 MB, free: 26.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.269, allocations: 4 kB / 406.5 MB, free: 26.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.304e-06/0.269, allocations: 0 / 406.5 MB, free: 26.29 MB / 298.7 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.001758/0.2708, allocations: 0.8537 MB / 407.4 MB, free: 25.39 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/0.2709, allocations: 8.031 kB / 407.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001142/0.271, allocations: 56.28 kB / 407.5 MB, free: 25.32 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/0.2714, allocations: 343.1 kB / 407.8 MB, free: 24.95 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.2715, allocations: 37.69 kB / 407.8 MB, free: 24.91 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.838e-05/0.2716, allocations: 48.38 kB / 407.9 MB, free: 24.86 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.2727, allocations: 450.3 kB / 408.3 MB, free: 24.42 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.2727, allocations: 0 / 408.3 MB, free: 24.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.529e-05/0.2728, allocations: 20 kB / 408.3 MB, free: 24.4 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.447e-05/0.2728, allocations: 15.94 kB / 408.4 MB, free: 24.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/0.2741, allocations: 393 kB / 408.7 MB, free: 24 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003188/0.2773, allocations: 1.585 MB / 410.3 MB, free: 22.31 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009175/0.2782, allocations: 403.1 kB / 410.7 MB, free: 21.89 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000569/0.2788, allocations: 178.3 kB / 410.9 MB, free: 21.71 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.359e-05/0.2788, allocations: 8.312 kB / 410.9 MB, free: 21.7 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.028e-05/0.2789, allocations: 42.83 kB / 410.9 MB, free: 21.65 MB / 298.7 MB Notification: Performance of pre-optimization done (n=39): time 2.675e-06/0.2789, allocations: 0 / 410.9 MB, free: 21.65 MB / 298.7 MB Notification: Performance of matching and sorting (n=55): time 0.004526/0.2834, allocations: 1.191 MB / 412.1 MB, free: 20.45 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.261e-05/0.2835, allocations: 59.97 kB / 412.2 MB, free: 20.38 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005541/0.284, allocations: 397.5 kB / 412.6 MB, free: 19.98 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.945e-05/0.2841, allocations: 33.7 kB / 412.6 MB, free: 19.94 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001738/0.2843, allocations: 299.9 kB / 412.9 MB, free: 19.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001356/0.2844, allocations: 185.2 kB / 413.1 MB, free: 19.46 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002102/0.2846, allocations: 118.2 kB / 413.2 MB, free: 19.34 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.92e-05/0.2848, allocations: 354.8 kB / 413.5 MB, free: 18.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006409/0.2854, allocations: 177.2 kB / 413.7 MB, free: 18.81 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006943/0.2861, allocations: 299 kB / 414 MB, free: 18.47 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00129/0.2874, allocations: 494.5 kB / 414.5 MB, free: 17.95 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/0.2874, allocations: 0 / 414.5 MB, free: 17.95 MB / 298.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.002056/0.2895, allocations: 0.746 MB / 415.2 MB, free: 17.19 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.2895, allocations: 11.94 kB / 415.2 MB, free: 17.18 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.2896, allocations: 7.984 kB / 415.3 MB, free: 17.17 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007356/0.2903, allocations: 178.2 kB / 415.4 MB, free: 16.99 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000734/0.2911, allocations: 119.8 kB / 415.5 MB, free: 16.87 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004606/0.2957, allocations: 3.873 MB / 419.4 MB, free: 12.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006375/0.2963, allocations: 31.97 kB / 419.5 MB, free: 12.71 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.966e-05/0.2964, allocations: 20 kB / 419.5 MB, free: 12.69 MB / 298.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 (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.0002888/0.2967, allocations: 185.7 kB / 419.7 MB, free: 12.5 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001162/0.2969, allocations: 51.38 kB / 419.7 MB, free: 12.45 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.297, allocations: 57.03 kB / 419.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/0.2971, allocations: 8 kB / 419.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.624e-05/0.2971, allocations: 4 kB / 419.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.366e-06/0.2971, allocations: 3.984 kB / 419.8 MB, free: 12.38 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003047/0.3002, allocations: 1.3 MB / 421.1 MB, free: 11 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.552e-06/0.3002, allocations: 11.94 kB / 421.1 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/0.3006, allocations: 63.95 kB / 421.1 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005981/0.3013, allocations: 165.6 kB / 421.3 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.3013, allocations: 16 kB / 421.3 MB, free: 10.74 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00389/0.3052, allocations: 3.686 MB / 425 MB, free: 6.781 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/0.3052, allocations: 8.016 kB / 425 MB, free: 6.773 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/0.3077, allocations: 1.497 MB / 426.5 MB, free: 5.199 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/0.3078, allocations: 120.6 kB / 426.6 MB, free: 5.062 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.219e-05/0.3079, allocations: 15.94 kB / 426.7 MB, free: 5.047 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004713/0.3084, allocations: 27.97 kB / 426.7 MB, free: 5.02 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001203/0.3085, allocations: 44.31 kB / 426.7 MB, free: 4.977 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.558e-05/0.3086, allocations: 19.94 kB / 426.7 MB, free: 4.957 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0003743/0.3089, allocations: 275.2 kB / 427 MB, free: 4.688 MB / 298.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.309, allocations: 0 / 427 MB, free: 4.688 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.001275/0.3102, allocations: 152 kB / 427.2 MB, free: 4.539 MB / 298.7 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.0001313/0.3104, allocations: 115.2 kB / 427.3 MB, free: 4.418 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.001966/0.3124, allocations: 0.7808 MB / 428.1 MB, free: 3.609 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.3124, allocations: 0 / 428.1 MB, free: 3.609 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000858/0.3133, allocations: 0.5164 MB / 428.6 MB, free: 3.066 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004325/0.3137, allocations: 56.61 kB / 428.6 MB, free: 3.016 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00168/0.3154, allocations: 1.471 MB / 430.1 MB, free: 1.492 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002946/0.3157, allocations: 0.867 MB / 431 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 0.0001963/0.3159, allocations: 44.36 kB / 431 MB, free: 0.5586 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.051e-05/0.316, allocations: 39.42 kB / 431 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.316, allocations: 0 / 431 MB, free: 0.5195 MB / 298.7 MB Notification: Performance of Templates: time 0.009447/0.3255, allocations: 4.941 MB / 436 MB, free: 11.58 MB / 314.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches