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.001065/0.001065, allocations: 107 kB / 17.74 MB, free: 5.312 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.001089/0.001089, allocations: 194.5 kB / 18.68 MB, free: 4.387 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.3/1.3, allocations: 222.9 MB / 242.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009018/0.0009018, allocations: 39.92 kB / 352 MB, free: 3.211 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2148/0.2157, allocations: 49.44 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007947/0.2237, allocations: 6.699 MB / 408.1 MB, free: 2.121 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004098/0.2278, allocations: 2.39 MB / 410.5 MB, free: 15.71 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006576/0.2285, allocations: 24 kB / 410.6 MB, free: 15.69 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004164/0.2327, allocations: 1.88 MB / 412.4 MB, free: 13.81 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001788/0.2345, allocations: 0.7105 MB / 413.1 MB, free: 13.09 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00235/0.2368, allocations: 1.159 MB / 414.3 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00144/0.2383, allocations: 1.129 MB / 415.4 MB, free: 10.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001391/0.2397, allocations: 0.9466 MB / 416.4 MB, free: 9.832 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006696/0.2404, allocations: 486.1 kB / 416.9 MB, free: 9.355 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007726/0.2412, allocations: 0.6186 MB / 417.5 MB, free: 8.734 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001874/0.2414, allocations: 100 kB / 417.6 MB, free: 8.637 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008783/0.2422, allocations: 423.6 kB / 418 MB, free: 8.223 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002191/0.2425, allocations: 255 kB / 418.2 MB, free: 7.973 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005708/0.2431, allocations: 0.5674 MB / 418.8 MB, free: 7.402 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001836/0.2449, allocations: 1.658 MB / 420.5 MB, free: 5.742 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2449, allocations: 0 / 420.5 MB, free: 5.742 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.2449, allocations: 0 / 420.5 MB, free: 5.742 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.57e-05/0.245, allocations: 0 / 420.5 MB, free: 5.742 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.006331/0.2513, allocations: 2.039 MB / 422.5 MB, free: 3.648 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.628e-05/0.2513, allocations: 8.031 kB / 422.5 MB, free: 3.641 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003705/0.255, allocations: 0.5114 MB / 423 MB, free: 3.129 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003/0.2554, allocations: 314.8 kB / 423.3 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.414e-05/0.2555, allocations: 94.95 kB / 423.4 MB, free: 2.688 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000219/0.2557, allocations: 132.3 kB / 423.5 MB, free: 2.559 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002431/0.2581, allocations: 1.3 MB / 424.8 MB, free: 1.227 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.411e-05/0.2582, allocations: 7.953 kB / 424.8 MB, free: 1.219 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001072/0.2583, allocations: 48 kB / 424.9 MB, free: 1.172 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.37e-05/0.2583, allocations: 32 kB / 424.9 MB, free: 1.141 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002609/0.2609, allocations: 1.205 MB / 426.1 MB, free: 15.93 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006567/0.2675, allocations: 4.176 MB / 430.3 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00246/0.27, allocations: 2.456 MB / 432.8 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009533/0.271, allocations: 0.5047 MB / 433.3 MB, free: 8.301 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001426/0.2711, allocations: 106.1 kB / 433.4 MB, free: 8.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.306e-05/0.2712, allocations: 47.56 kB / 433.4 MB, free: 8.125 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 2.705e-06/0.2712, allocations: 4 kB / 433.4 MB, free: 8.121 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.01095/0.2821, allocations: 3.797 MB / 437.2 MB, free: 4.227 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.148e-05/0.2822, allocations: 90.11 kB / 437.3 MB, free: 4.121 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004187/0.2826, allocations: 389.5 kB / 437.7 MB, free: 3.734 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 6.888e-05/0.2827, allocations: 45.7 kB / 437.7 MB, free: 3.684 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002565/0.283, allocations: 476.5 kB / 438.2 MB, free: 3.211 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003051/0.2833, allocations: 444.1 kB / 438.6 MB, free: 2.773 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003387/0.2836, allocations: 235.5 kB / 438.9 MB, free: 2.535 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.2838, allocations: 374.7 kB / 439.2 MB, free: 2.16 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.2849, allocations: 439.8 kB / 439.7 MB, free: 1.73 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001273/0.2862, allocations: 0.6957 MB / 440.4 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002401/0.2886, allocations: 1.183 MB / 441.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.2886, allocations: 0 / 441.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.003151/0.2917, allocations: 1.482 MB / 443 MB, free: 14.16 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.08e-05/0.2918, allocations: 11.94 kB / 443 MB, free: 14.15 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.394e-05/0.2918, allocations: 8 kB / 443 MB, free: 14.14 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005242/0.2923, allocations: 197.3 kB / 443.2 MB, free: 13.95 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001254/0.2936, allocations: 287.6 kB / 443.5 MB, free: 13.66 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004142/0.2977, allocations: 4.379 MB / 447.9 MB, free: 9.016 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000858/0.2986, allocations: 87.95 kB / 448 MB, free: 8.93 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.128e-05/0.2987, allocations: 51.98 kB / 448 MB, free: 8.879 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.0003582/0.2991, allocations: 265.5 kB / 448.3 MB, free: 8.609 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000131/0.2992, allocations: 71.61 kB / 448.4 MB, free: 8.539 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003039/0.3023, allocations: 1.351 MB / 449.7 MB, free: 7.176 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.3023, allocations: 7.969 kB / 449.7 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.3023, allocations: 0 / 449.7 MB, free: 7.168 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002911/0.3026, allocations: 236.5 kB / 449.9 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.919e-05/0.3027, allocations: 20 kB / 450 MB, free: 6.898 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006877/0.3034, allocations: 59.95 kB / 450 MB, free: 6.84 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001908/0.3036, allocations: 100.8 kB / 450.1 MB, free: 6.742 MB / 366.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003468/0.3071, allocations: 1.346 MB / 451.5 MB, free: 5.379 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003525/0.3106, allocations: 1.733 MB / 453.2 MB, free: 3.629 MB / 366.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001012/0.3116, allocations: 471.7 kB / 453.7 MB, free: 3.172 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002729/0.3119, allocations: 271.2 kB / 453.9 MB, free: 2.902 MB / 366.1 MB Notification: Performance of Backend: time 5.01e-07/0.3119, allocations: 3.938 kB / 453.9 MB, free: 2.898 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002637/0.3146, allocations: 1.312 MB / 455.2 MB, free: 1.551 MB / 366.1 MB Notification: Performance of SimCode: time 0.002347/0.3169, allocations: 2.09 MB / 457.3 MB, free: 15.4 MB / 382.1 MB Notification: Performance of Templates: time 0.02438/0.3413, allocations: 15.74 MB / 473.1 MB, free: 15.7 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