Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|magFluxSensor.Phi.re|magFluxSensor.Phi.im|voltageSensor.v.re|voltageSensor.v.im",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.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.001442/0.001442, allocations: 110.9 kB / 17.75 MB, free: 5.332 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.001665/0.001665, allocations: 190.6 kB / 18.68 MB, free: 4.41 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.309/1.309, allocations: 222.9 MB / 242.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000883/0.000883, allocations: 51.92 kB / 352 MB, free: 3.238 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.2178, allocations: 49.43 MB / 401.4 MB, free: 8.766 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007132/0.2249, allocations: 6.711 MB / 408.1 MB, free: 2.16 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.003583/0.2285, allocations: 2.386 MB / 410.5 MB, free: 15.76 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004619/0.229, allocations: 24 kB / 410.5 MB, free: 15.74 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003894/0.2329, allocations: 1.869 MB / 412.4 MB, free: 13.87 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.2345, allocations: 0.7105 MB / 413.1 MB, free: 13.15 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.2367, allocations: 1.173 MB / 414.3 MB, free: 11.98 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001237/0.238, allocations: 1.129 MB / 415.4 MB, free: 10.84 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001302/0.2393, allocations: 0.944 MB / 416.4 MB, free: 9.879 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006104/0.2399, allocations: 478.2 kB / 416.8 MB, free: 9.41 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007514/0.2407, allocations: 0.6263 MB / 417.5 MB, free: 8.781 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001797/0.2409, allocations: 100 kB / 417.6 MB, free: 8.684 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007892/0.2417, allocations: 423.7 kB / 418 MB, free: 8.27 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001996/0.2419, allocations: 255 kB / 418.2 MB, free: 8.02 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005373/0.2424, allocations: 0.5597 MB / 418.8 MB, free: 7.457 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001598/0.244, allocations: 1.647 MB / 420.4 MB, free: 5.809 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.244, allocations: 3.938 kB / 420.4 MB, free: 5.805 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.244, allocations: 0 / 420.4 MB, free: 5.805 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.202e-05/0.2441, allocations: 4 kB / 420.4 MB, free: 5.801 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 328 * Number of variables: 328 Notification: Performance of Generate backend data structure: time 0.006443/0.2505, allocations: 2.003 MB / 422.4 MB, free: 3.746 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.494e-05/0.2506, allocations: 12.03 kB / 422.5 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003708/0.2543, allocations: 0.5069 MB / 423 MB, free: 3.227 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002831/0.2546, allocations: 302.8 kB / 423.3 MB, free: 2.891 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.357e-05/0.2547, allocations: 98.95 kB / 423.4 MB, free: 2.793 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001928/0.2549, allocations: 128.3 kB / 423.5 MB, free: 2.668 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002339/0.2572, allocations: 1.311 MB / 424.8 MB, free: 1.324 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.135e-05/0.2573, allocations: 4 kB / 424.8 MB, free: 1.32 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001226/0.2574, allocations: 52 kB / 424.8 MB, free: 1.27 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.244e-05/0.2574, allocations: 32 kB / 424.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002418/0.2598, allocations: 1.197 MB / 426.1 MB, free: 36 kB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005874/0.2657, allocations: 4.174 MB / 430.2 MB, free: 11.65 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00241/0.2682, allocations: 2.448 MB / 432.7 MB, free: 8.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009233/0.2691, allocations: 0.5086 MB / 433.2 MB, free: 8.41 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001181/0.2692, allocations: 110.1 kB / 433.3 MB, free: 8.285 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.2693, allocations: 43.56 kB / 433.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 2.605e-06/0.2693, allocations: 0 / 433.4 MB, free: 8.234 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.01097/0.2802, allocations: 3.791 MB / 437.1 MB, free: 4.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.172e-05/0.2803, allocations: 90.11 kB / 437.2 MB, free: 4.238 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003886/0.2807, allocations: 393.4 kB / 437.6 MB, free: 3.848 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.961e-05/0.2808, allocations: 45.7 kB / 437.7 MB, free: 3.797 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002345/0.281, allocations: 451 kB / 438.1 MB, free: 3.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/0.2813, allocations: 425.8 kB / 438.5 MB, free: 2.926 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003237/0.2816, allocations: 231.4 kB / 438.7 MB, free: 2.691 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.2818, allocations: 370.8 kB / 439.1 MB, free: 2.32 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001083/0.2829, allocations: 443.7 kB / 439.5 MB, free: 1.887 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001245/0.2841, allocations: 0.6957 MB / 440.2 MB, free: 1.094 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002346/0.2865, allocations: 1.186 MB / 441.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.2865, allocations: 4 kB / 441.4 MB, free: 15.81 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003053/0.2896, allocations: 1.47 MB / 442.9 MB, free: 14.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2896, allocations: 11.94 kB / 442.9 MB, free: 14.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.2896, allocations: 11.94 kB / 442.9 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004904/0.2901, allocations: 205.4 kB / 443.1 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.2914, allocations: 291.6 kB / 443.4 MB, free: 13.81 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00424/0.2956, allocations: 4.363 MB / 447.8 MB, free: 9.176 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008658/0.2965, allocations: 79.86 kB / 447.8 MB, free: 9.098 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-05/0.2966, allocations: 51.98 kB / 447.9 MB, free: 9.047 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (146): * Single equations (assignments): 144 * 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.0003696/0.297, allocations: 273.6 kB / 448.2 MB, free: 8.77 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.2971, allocations: 67.19 kB / 448.2 MB, free: 8.703 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003033/0.3001, allocations: 1.351 MB / 449.6 MB, free: 7.34 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.3002, allocations: 7.969 kB / 449.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.806e-06/0.3002, allocations: 0 / 449.6 MB, free: 7.332 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002856/0.3005, allocations: 224.2 kB / 449.8 MB, free: 7.094 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.3006, allocations: 24 kB / 449.8 MB, free: 7.07 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007078/0.3013, allocations: 63.94 kB / 449.9 MB, free: 7.008 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.3015, allocations: 104.8 kB / 450 MB, free: 6.906 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003472/0.305, allocations: 1.354 MB / 451.3 MB, free: 5.535 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003515/0.3085, allocations: 1.729 MB / 453.1 MB, free: 3.789 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00102/0.3095, allocations: 467.7 kB / 453.5 MB, free: 3.336 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.00026/0.3098, allocations: 267.2 kB / 453.8 MB, free: 3.07 MB / 366.1 MB Notification: Performance of Backend: time 1.523e-06/0.3098, allocations: 0 / 453.8 MB, free: 3.07 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002643/0.3124, allocations: 1.308 MB / 455.1 MB, free: 1.727 MB / 366.1 MB Notification: Performance of SimCode: time 0.002268/0.3147, allocations: 2.061 MB / 457.2 MB, free: 15.61 MB / 382.1 MB Notification: Performance of Templates: time 0.02375/0.3385, allocations: 15.75 MB / 472.9 MB, free: 15.9 MB / 398.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/QuadraticCoreAirgap/QuadraticCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches