Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001038/0.001038, allocations: 114.3 kB / 18.46 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001335/0.001335, allocations: 206.8 kB / 19.41 MB, free: 3.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.309/1.309, allocations: 227.4 MB / 247.6 MB, free: 10.49 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 63.89 kB / 359.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2069/0.208, allocations: 50.54 MB / 409.9 MB, free: 1.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap): time 0.007255/0.2153, allocations: 6.713 MB / 416.7 MB, free: 10.86 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003282/0.2186, allocations: 2.44 MB / 419.1 MB, free: 8.406 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002792/0.2189, allocations: 24 kB / 419.1 MB, free: 8.383 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003711/0.2226, allocations: 1.882 MB / 421 MB, free: 6.496 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001064/0.2237, allocations: 0.5433 MB / 421.6 MB, free: 5.949 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002256/0.226, allocations: 1.316 MB / 422.9 MB, free: 4.637 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009806/0.227, allocations: 1.125 MB / 424 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001144/0.2281, allocations: 0.9386 MB / 424.9 MB, free: 2.547 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004746/0.2286, allocations: 490.1 kB / 425.4 MB, free: 2.066 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006141/0.2292, allocations: 0.6147 MB / 426 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001252/0.2294, allocations: 100 kB / 426.1 MB, free: 1.352 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007201/0.2301, allocations: 443.7 kB / 426.6 MB, free: 0.918 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001685/0.2303, allocations: 247 kB / 426.8 MB, free: 0.6758 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004386/0.2307, allocations: 0.5597 MB / 427.4 MB, free: 116 kB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001506/0.2322, allocations: 1.66 MB / 429 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.2323, allocations: 4 kB / 429 MB, free: 14.45 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.2323, allocations: 4 kB / 429 MB, free: 14.44 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.2323, allocations: 0 / 429 MB, free: 14.44 MB / 350.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.006142/0.2384, allocations: 2.026 MB / 431 MB, free: 12.36 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.45e-05/0.2385, allocations: 12.03 kB / 431.1 MB, free: 12.35 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003708/0.2422, allocations: 0.5031 MB / 431.6 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002456/0.2424, allocations: 310.5 kB / 431.9 MB, free: 11.5 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.329e-05/0.2425, allocations: 94.95 kB / 432 MB, free: 11.41 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001713/0.2427, allocations: 128.4 kB / 432.1 MB, free: 11.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002313/0.245, allocations: 1.307 MB / 433.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.168e-05/0.2451, allocations: 0 / 433.4 MB, free: 9.945 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.2452, allocations: 55.98 kB / 433.4 MB, free: 9.891 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.129e-05/0.2452, allocations: 28 kB / 433.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002434/0.2477, allocations: 1.193 MB / 434.7 MB, free: 8.664 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006074/0.2537, allocations: 4.28 MB / 438.9 MB, free: 4.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/0.2562, allocations: 2.44 MB / 441.4 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00091/0.2572, allocations: 0.5072 MB / 441.9 MB, free: 0.9219 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/0.2573, allocations: 199.2 kB / 442.1 MB, free: 0.6914 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.2574, allocations: 43.56 kB / 442.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 2.484e-06/0.2574, allocations: 0 / 442.1 MB, free: 0.6406 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.01001/0.2674, allocations: 3.757 MB / 445.9 MB, free: 12.78 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.369e-05/0.2675, allocations: 94.09 kB / 446 MB, free: 12.67 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.2679, allocations: 389.4 kB / 446.4 MB, free: 12.29 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 7.181e-05/0.2679, allocations: 45.7 kB / 446.4 MB, free: 12.23 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000233/0.2682, allocations: 454.9 kB / 446.8 MB, free: 11.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002802/0.2685, allocations: 425.8 kB / 447.3 MB, free: 11.36 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003173/0.2688, allocations: 223.4 kB / 447.5 MB, free: 11.14 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.2689, allocations: 378.8 kB / 447.9 MB, free: 10.76 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.27, allocations: 435.8 kB / 448.3 MB, free: 10.33 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.2712, allocations: 0.6918 MB / 449 MB, free: 9.543 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002221/0.2734, allocations: 1.179 MB / 450.1 MB, free: 8.27 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.2734, allocations: 4 kB / 450.2 MB, free: 8.266 MB / 366.1 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.002929/0.2763, allocations: 1.458 MB / 451.6 MB, free: 6.793 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2764, allocations: 11.94 kB / 451.6 MB, free: 6.781 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.2764, allocations: 8 kB / 451.6 MB, free: 6.773 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004966/0.2769, allocations: 205.5 kB / 451.8 MB, free: 6.566 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.2781, allocations: 287.6 kB / 452.1 MB, free: 6.285 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003993/0.2821, allocations: 4.367 MB / 456.5 MB, free: 1.645 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008239/0.283, allocations: 87.78 kB / 456.6 MB, free: 1.559 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.188e-05/0.2831, allocations: 48 kB / 456.6 MB, free: 1.512 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.0003543/0.2834, allocations: 277.5 kB / 456.9 MB, free: 1.23 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000127/0.2836, allocations: 71.16 kB / 457 MB, free: 1.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002892/0.2865, allocations: 1.335 MB / 458.3 MB, free: 15.81 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.116e-05/0.2865, allocations: 7.984 kB / 458.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.2865, allocations: 0 / 458.3 MB, free: 15.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002903/0.2868, allocations: 228.1 kB / 458.5 MB, free: 15.56 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.2869, allocations: 23.98 kB / 458.5 MB, free: 15.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/0.2876, allocations: 63.95 kB / 458.6 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001634/0.2877, allocations: 92.84 kB / 458.7 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00333/0.2911, allocations: 1.35 MB / 460 MB, free: 14.02 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003325/0.2944, allocations: 1.714 MB / 461.8 MB, free: 12.3 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009619/0.2954, allocations: 467.7 kB / 462.2 MB, free: 11.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002653/0.2957, allocations: 263.2 kB / 462.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of Backend: time 1.6e-07/0.2957, allocations: 0 / 462.5 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002567/0.2982, allocations: 1.327 MB / 463.8 MB, free: 10.22 MB / 382.1 MB Notification: Performance of SimCode: time 0.002249/0.3005, allocations: 2.056 MB / 465.9 MB, free: 8.117 MB / 382.1 MB Notification: Performance of Templates: time 0.02402/0.3245, allocations: 15.82 MB / 481.7 MB, free: 8.336 MB / 398.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.QuadraticCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches