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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001125, allocations: 109.2 kB / 17.06 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001114/0.001114, allocations: 192 kB / 18 MB, free: 5.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00152/0.00152, allocations: 43.92 kB / 351.3 MB, free: 3.262 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3057, allocations: 49.44 MB / 400.7 MB, free: 8.75 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.00439/0.3102, allocations: 3.494 MB / 404.2 MB, free: 5.371 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.00147/0.3116, allocations: 0.923 MB / 405.1 MB, free: 4.445 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001887/0.3118, allocations: 8 kB / 405.2 MB, free: 4.438 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002645/0.3121, allocations: 87.09 kB / 405.2 MB, free: 4.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003634/0.3125, allocations: 162.8 kB / 405.4 MB, free: 4.191 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003531/0.3129, allocations: 175.6 kB / 405.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005488/0.3134, allocations: 0.6309 MB / 406.2 MB, free: 3.387 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003011/0.3137, allocations: 185.5 kB / 406.4 MB, free: 3.195 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003071/0.314, allocations: 247 kB / 406.6 MB, free: 2.953 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002903/0.3143, allocations: 278.6 kB / 406.9 MB, free: 2.68 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 8.447e-05/0.3144, allocations: 56 kB / 407 MB, free: 2.625 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.347e-05/0.3145, allocations: 52 kB / 407 MB, free: 2.574 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.961e-05/0.3146, allocations: 123.5 kB / 407.1 MB, free: 2.453 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002355/0.3149, allocations: 278.5 kB / 407.4 MB, free: 2.18 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005832/0.3155, allocations: 0.6261 MB / 408 MB, free: 1.555 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.3155, allocations: 0 / 408 MB, free: 1.555 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.3155, allocations: 0 / 408 MB, free: 1.555 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.798e-06/0.3155, allocations: 0 / 408 MB, free: 1.555 MB / 318.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.001417/0.3169, allocations: 0.8609 MB / 408.9 MB, free: 0.6445 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.317, allocations: 15.97 kB / 408.9 MB, free: 0.6289 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001064/0.3171, allocations: 68.5 kB / 409 MB, free: 0.5625 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.3175, allocations: 347.3 kB / 409.3 MB, free: 192 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.3176, allocations: 37.69 kB / 409.3 MB, free: 152 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.205e-05/0.3177, allocations: 52.38 kB / 409.4 MB, free: 100 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008007/0.3185, allocations: 442.5 kB / 409.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.458e-05/0.3185, allocations: 0 / 409.8 MB, free: 15.66 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.113e-05/0.3185, allocations: 20 kB / 409.8 MB, free: 15.64 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.3186, allocations: 20 kB / 409.9 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007972/0.3194, allocations: 389 kB / 410.2 MB, free: 15.24 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002367/0.3217, allocations: 1.578 MB / 411.8 MB, free: 13.55 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007047/0.3225, allocations: 406.1 kB / 412.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003948/0.3229, allocations: 181.4 kB / 412.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.927e-05/0.3229, allocations: 4.328 kB / 412.4 MB, free: 12.94 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.55e-05/0.323, allocations: 38.89 kB / 412.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of pre-optimization done (n=39): time 1.633e-06/0.323, allocations: 0 / 412.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.003333/0.3263, allocations: 1.2 MB / 413.6 MB, free: 11.68 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.714e-05/0.3264, allocations: 55.97 kB / 413.7 MB, free: 11.61 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000464/0.3268, allocations: 397.6 kB / 414.1 MB, free: 11.21 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.649e-05/0.3269, allocations: 33.7 kB / 414.1 MB, free: 11.18 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000239/0.3271, allocations: 312.6 kB / 414.4 MB, free: 10.86 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000163/0.3273, allocations: 202.3 kB / 414.6 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001822/0.3275, allocations: 110.3 kB / 414.7 MB, free: 10.55 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3277, allocations: 354.8 kB / 415.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004013/0.3281, allocations: 173.2 kB / 415.2 MB, free: 10.03 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004673/0.3286, allocations: 303 kB / 415.5 MB, free: 9.688 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008446/0.3294, allocations: 0.4945 MB / 416 MB, free: 9.148 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/0.3294, allocations: 8 kB / 416 MB, free: 9.141 MB / 334.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001361/0.3308, allocations: 0.7383 MB / 416.8 MB, free: 8.387 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.3308, allocations: 8 kB / 416.8 MB, free: 8.379 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.3309, allocations: 4 kB / 416.8 MB, free: 8.375 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005791/0.3314, allocations: 189 kB / 417 MB, free: 8.188 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004591/0.3319, allocations: 115.8 kB / 417.1 MB, free: 8.074 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003967/0.3359, allocations: 4.265 MB / 421.3 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003639/0.3363, allocations: 36.05 kB / 421.4 MB, free: 3.5 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.3363, allocations: 24 kB / 421.4 MB, free: 3.477 MB / 334.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.0002103/0.3365, allocations: 183.9 kB / 421.6 MB, free: 3.289 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.894e-05/0.3366, allocations: 47.67 kB / 421.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.3367, allocations: 64.97 kB / 421.7 MB, free: 3.18 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.496e-05/0.3368, allocations: 8 kB / 421.7 MB, free: 3.172 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.09e-05/0.3368, allocations: 4 kB / 421.7 MB, free: 3.168 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.385e-06/0.3368, allocations: 3.984 kB / 421.7 MB, free: 3.164 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00214/0.3389, allocations: 1.296 MB / 423 MB, free: 1.789 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.988e-06/0.339, allocations: 4.125 kB / 423 MB, free: 1.785 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002809/0.3392, allocations: 67.89 kB / 423.1 MB, free: 1.719 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003922/0.3396, allocations: 165.5 kB / 423.2 MB, free: 1.551 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.899e-05/0.3397, allocations: 12 kB / 423.3 MB, free: 1.539 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003502/0.3432, allocations: 4.107 MB / 427.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.973e-06/0.3432, allocations: 0 / 427.4 MB, free: 13.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.3444, allocations: 0.7056 MB / 428.1 MB, free: 12.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001122/0.3445, allocations: 132.7 kB / 428.2 MB, free: 12.27 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.3446, allocations: 8 kB / 428.2 MB, free: 12.26 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002745/0.3448, allocations: 27.97 kB / 428.2 MB, free: 12.23 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.978e-05/0.3449, allocations: 48.31 kB / 428.3 MB, free: 12.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.312e-05/0.345, allocations: 12 kB / 428.3 MB, free: 12.18 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002921/0.3453, allocations: 275.2 kB / 428.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.305e-06/0.3453, allocations: 112 / 428.6 MB, free: 11.91 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0006986/0.346, allocations: 159.9 kB / 428.7 MB, free: 11.76 MB / 350.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.0001486/0.3461, allocations: 112.5 kB / 428.8 MB, free: 11.64 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.3476, allocations: 0.7886 MB / 429.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.3476, allocations: 4.812 kB / 429.6 MB, free: 10.82 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007599/0.3484, allocations: 0.5231 MB / 430.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004425/0.3488, allocations: 49.48 kB / 430.2 MB, free: 10.21 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001691/0.3505, allocations: 0.9463 MB / 431.1 MB, free: 9.234 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.3509, allocations: 0.8553 MB / 432 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0001679/0.3511, allocations: 48.36 kB / 432 MB, free: 8.305 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.543e-05/0.3512, allocations: 31.42 kB / 432.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of SimCode: time 3.51e-07/0.3512, allocations: 0 / 432.1 MB, free: 8.273 MB / 350.1 MB Notification: Performance of Templates: time 0.009918/0.3611, allocations: 5.148 MB / 437.2 MB, free: 3.129 MB / 350.1 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches