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.001139/0.00114, allocations: 113.6 kB / 17.69 MB, free: 5.309 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.001049/0.001049, allocations: 192 kB / 18.63 MB, free: 4.375 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.352/1.352, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009945/0.0009947, allocations: 43.27 kB / 302.1 MB, free: 5.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08884/0.08985, allocations: 49.44 MB / 351.5 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.004855/0.09475, allocations: 3.486 MB / 355 MB, free: 216 kB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001441/0.09621, allocations: 0.9272 MB / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001868/0.09641, allocations: 11.94 kB / 355.9 MB, free: 15.27 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002622/0.09669, allocations: 87.17 kB / 356 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.09704, allocations: 162.7 kB / 356.2 MB, free: 15.02 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003358/0.09738, allocations: 175.7 kB / 356.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005255/0.09792, allocations: 0.6305 MB / 357 MB, free: 14.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002713/0.09819, allocations: 197.2 kB / 357.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002681/0.09847, allocations: 243 kB / 357.4 MB, free: 13.79 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002689/0.09875, allocations: 270.7 kB / 357.7 MB, free: 13.52 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.583e-05/0.09882, allocations: 52 kB / 357.7 MB, free: 13.47 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.244e-05/0.0989, allocations: 52 kB / 357.8 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.874e-05/0.09899, allocations: 115.6 kB / 357.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002117/0.09921, allocations: 290.5 kB / 358.2 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004889/0.09971, allocations: 0.6266 MB / 358.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.09972, allocations: 0 / 358.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.09973, allocations: 0 / 358.8 MB, free: 12.39 MB / 302.1 MB Notification: Performance of Transformations before backend: time 8.296e-06/0.09974, allocations: 7.938 kB / 358.8 MB, free: 12.39 MB / 302.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.001358/0.1011, allocations: 0.8498 MB / 359.7 MB, free: 11.49 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.1011, allocations: 16.02 kB / 359.7 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.749e-05/0.1012, allocations: 60.19 kB / 359.7 MB, free: 11.41 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004373/0.1017, allocations: 343.1 kB / 360.1 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.1017, allocations: 37.69 kB / 360.1 MB, free: 11 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.664e-05/0.1018, allocations: 48.38 kB / 360.1 MB, free: 10.95 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000729/0.1025, allocations: 454.3 kB / 360.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1026, allocations: 0 / 360.6 MB, free: 10.51 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.705e-05/0.1026, allocations: 20 kB / 360.6 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.1026, allocations: 12 kB / 360.6 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007797/0.1034, allocations: 389 kB / 361 MB, free: 10.09 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002235/0.1056, allocations: 1.569 MB / 362.6 MB, free: 8.414 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006362/0.1063, allocations: 398.6 kB / 363 MB, free: 7.996 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003976/0.1067, allocations: 185.4 kB / 363.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.972e-05/0.1068, allocations: 12.31 kB / 363.2 MB, free: 7.801 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.1068, allocations: 38.83 kB / 363.2 MB, free: 7.754 MB / 302.1 MB Notification: Performance of pre-optimization done (n=39): time 1.542e-06/0.1068, allocations: 0 / 363.2 MB, free: 7.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=55): time 0.002972/0.1098, allocations: 1.192 MB / 364.4 MB, free: 6.555 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.542e-05/0.1098, allocations: 59.91 kB / 364.4 MB, free: 6.48 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003816/0.1102, allocations: 397.5 kB / 364.8 MB, free: 6.078 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.93e-05/0.1102, allocations: 37.7 kB / 364.9 MB, free: 6.035 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.1104, allocations: 299.8 kB / 365.2 MB, free: 5.738 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000114/0.1105, allocations: 189.3 kB / 365.3 MB, free: 5.551 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001484/0.1107, allocations: 118.2 kB / 365.5 MB, free: 5.426 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001159/0.1108, allocations: 350.8 kB / 365.8 MB, free: 5.074 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003998/0.1112, allocations: 181.2 kB / 366 MB, free: 4.898 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004719/0.1117, allocations: 299 kB / 366.3 MB, free: 4.562 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008293/0.1125, allocations: 494.5 kB / 366.8 MB, free: 4.031 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.1125, allocations: 0 / 366.8 MB, free: 4.031 MB / 302.1 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001414/0.114, allocations: 0.7458 MB / 367.5 MB, free: 3.273 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.114, allocations: 8 kB / 367.5 MB, free: 3.266 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.351e-06/0.114, allocations: 0 / 367.5 MB, free: 3.266 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004934/0.1145, allocations: 185.7 kB / 367.7 MB, free: 3.078 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004587/0.115, allocations: 111.8 kB / 367.8 MB, free: 2.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1649/0.2798, allocations: 4.261 MB / 372.1 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005269/0.2804, allocations: 30.47 kB / 372.1 MB, free: 23.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.586e-05/0.2805, allocations: 25.61 kB / 372.1 MB, free: 23.75 MB / 302.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.0002334/0.2807, allocations: 180.8 kB / 372.3 MB, free: 23.63 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.986e-05/0.2808, allocations: 47.5 kB / 372.3 MB, free: 23.63 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001261/0.2809, allocations: 62.67 kB / 372.4 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2809, allocations: 5.031 kB / 372.4 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-05/0.281, allocations: 4.906 kB / 372.4 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.127e-05/0.281, allocations: 11.52 kB / 372.4 MB, free: 23.62 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.2832, allocations: 1.296 MB / 373.7 MB, free: 23.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.65e-06/0.2833, allocations: 1.938 kB / 373.7 MB, free: 23.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003139/0.2836, allocations: 70.8 kB / 373.8 MB, free: 23.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004154/0.284, allocations: 158.1 kB / 373.9 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.973e-05/0.284, allocations: 15.39 kB / 374 MB, free: 23.16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003239/0.2873, allocations: 4.097 MB / 378.1 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.726e-06/0.2873, allocations: 4.375 kB / 378.1 MB, free: 19.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00118/0.2885, allocations: 0.7035 MB / 378.8 MB, free: 19.23 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.2886, allocations: 128.1 kB / 378.9 MB, free: 19.11 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/0.2887, allocations: 15.12 kB / 378.9 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002733/0.2889, allocations: 24 kB / 378.9 MB, free: 19.09 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001177/0.2891, allocations: 44.41 kB / 379 MB, free: 19.08 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.648e-05/0.2891, allocations: 11.89 kB / 379 MB, free: 19.08 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0003109/0.2894, allocations: 279.6 kB / 379.3 MB, free: 18.93 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2894, allocations: 1.438 kB / 379.3 MB, free: 18.93 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007406/0.2902, allocations: 148.8 kB / 379.4 MB, free: 18.91 MB / 302.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.0001242/0.2903, allocations: 119 kB / 379.5 MB, free: 18.82 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001431/0.2917, allocations: 0.7834 MB / 380.3 MB, free: 18.4 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.2918, allocations: 3.312 kB / 380.3 MB, free: 18.4 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007129/0.2925, allocations: 0.5259 MB / 380.8 MB, free: 18.06 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004009/0.2929, allocations: 52.27 kB / 380.9 MB, free: 18.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.2945, allocations: 0.93 MB / 381.8 MB, free: 17.52 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003332/0.2948, allocations: 0.86 MB / 382.7 MB, free: 16.82 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001714/0.295, allocations: 48.7 kB / 382.7 MB, free: 16.81 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.04e-05/0.2951, allocations: 33.94 kB / 382.7 MB, free: 16.8 MB / 302.1 MB Notification: Performance of SimCode: time 8.12e-07/0.2951, allocations: 0 / 382.7 MB, free: 16.8 MB / 302.1 MB Notification: Performance of Templates: time 0.01173/0.3069, allocations: 5.015 MB / 387.8 MB, free: 15.99 MB / 302.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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/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