Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.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.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection,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.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001682/0.001682, allocations: 113.4 kB / 17.99 MB, free: 5.395 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001937/0.001937, allocations: 205.8 kB / 18.92 MB, free: 4.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.508/1.508, allocations: 227.4 MB / 247.1 MB, free: 8.973 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001879/0.001879, allocations: 65.66 kB / 307.1 MB, free: 0.6641 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1149/0.1168, allocations: 50.55 MB / 357.7 MB, free: 14.12 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.007169/0.124, allocations: 5.067 MB / 362.8 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004132/0.1282, allocations: 2.141 MB / 364.9 MB, free: 6.883 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004069/0.1286, allocations: 16 kB / 364.9 MB, free: 6.867 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003351/0.132, allocations: 1.319 MB / 366.2 MB, free: 5.547 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00126/0.1333, allocations: 362.1 kB / 366.6 MB, free: 5.191 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002387/0.1357, allocations: 1.142 MB / 367.7 MB, free: 4.051 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001098/0.1368, allocations: 0.7394 MB / 368.5 MB, free: 3.309 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.138, allocations: 0.7391 MB / 369.2 MB, free: 2.562 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005281/0.1385, allocations: 326.8 kB / 369.5 MB, free: 2.242 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005386/0.1391, allocations: 438.3 kB / 370 MB, free: 1.812 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.1392, allocations: 68 kB / 370 MB, free: 1.746 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009568/0.1402, allocations: 415.6 kB / 370.4 MB, free: 1.34 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001444/0.1403, allocations: 167.4 kB / 370.6 MB, free: 1.176 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003687/0.1407, allocations: 382.1 kB / 371 MB, free: 0.8008 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1801/0.3208, allocations: 0.921 MB / 371.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.524e-06/0.3209, allocations: 4.453 kB / 371.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.375e-06/0.3209, allocations: 0 / 371.9 MB, free: 11.37 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.187e-05/0.3209, allocations: 4.594 kB / 371.9 MB, free: 11.37 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: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.004827/0.3257, allocations: 1.464 MB / 373.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.3258, allocations: 14.42 kB / 373.4 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002734/0.3286, allocations: 365.1 kB / 373.7 MB, free: 10.81 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003219/0.3289, allocations: 263.6 kB / 374 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.145e-05/0.329, allocations: 63.86 kB / 374.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001887/0.3292, allocations: 85.44 kB / 374.1 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001955/0.3311, allocations: 0.8722 MB / 375 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.31e-05/0.3312, allocations: 1.297 kB / 375 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.399e-05/0.3313, allocations: 35.03 kB / 375 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.127e-05/0.3313, allocations: 19.66 kB / 375.1 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001909/0.3332, allocations: 0.7949 MB / 375.9 MB, free: 10.48 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004568/0.3378, allocations: 3.044 MB / 378.9 MB, free: 9.219 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001209/0.339, allocations: 1.002 MB / 379.9 MB, free: 8.555 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000514/0.3396, allocations: 241.6 kB / 380.1 MB, free: 8.461 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001343/0.3397, allocations: 182.1 kB / 380.3 MB, free: 8.273 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.731e-05/0.3398, allocations: 38.86 kB / 380.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.285e-06/0.3398, allocations: 0 / 380.4 MB, free: 8.227 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.007437/0.3472, allocations: 2.395 MB / 382.7 MB, free: 7.145 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.766e-05/0.3473, allocations: 84.92 kB / 382.8 MB, free: 7.051 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003765/0.3477, allocations: 319.7 kB / 383.1 MB, free: 6.871 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.963e-05/0.3477, allocations: 36.61 kB / 383.2 MB, free: 6.832 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001647/0.3479, allocations: 365.7 kB / 383.5 MB, free: 6.539 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.348, allocations: 205.6 kB / 383.7 MB, free: 6.383 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/0.3482, allocations: 148.2 kB / 383.9 MB, free: 6.305 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.581e-05/0.3483, allocations: 349.2 kB / 384.2 MB, free: 5.977 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007075/0.349, allocations: 272.2 kB / 384.5 MB, free: 5.895 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008185/0.3499, allocations: 0.5026 MB / 385 MB, free: 5.516 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.3514, allocations: 0.8089 MB / 385.8 MB, free: 5.012 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.3515, allocations: 6.656 kB / 385.8 MB, free: 5.012 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002048/0.3535, allocations: 0.8971 MB / 386.7 MB, free: 4.699 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.666e-05/0.3536, allocations: 9.078 kB / 386.7 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.3536, allocations: 6.938 kB / 386.7 MB, free: 4.699 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002713/0.3539, allocations: 73.28 kB / 386.8 MB, free: 4.668 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008492/0.3547, allocations: 200.1 kB / 387 MB, free: 4.66 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001563/0.3563, allocations: 2.867 MB / 389.9 MB, free: 1.793 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007198/0.357, allocations: 60.19 kB / 389.9 MB, free: 1.777 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.81e-05/0.3571, allocations: 39.62 kB / 390 MB, free: 1.77 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (95): * Single equations (assignments): 93 * 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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003295/0.3574, allocations: 216.2 kB / 390.2 MB, free: 1.598 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.516e-05/0.3575, allocations: 40.16 kB / 390.2 MB, free: 1.578 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.3594, allocations: 0.7356 MB / 390.9 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.027e-06/0.3594, allocations: 9.562 kB / 390.9 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.3595, allocations: 1.156 kB / 390.9 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.764e-06/0.3595, allocations: 3.234 kB / 391 MB, free: 1.285 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002529/0.362, allocations: 1.43 MB / 392.4 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.698e-06/0.362, allocations: 1.156 kB / 392.4 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000652/0.3627, allocations: 131.2 kB / 392.5 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001805/0.3629, allocations: 61.44 kB / 392.6 MB, free: 0.5352 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.408e-05/0.3629, allocations: 16.02 kB / 392.6 MB, free: 0.5273 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.3651, allocations: 2.844 MB / 395.4 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.3651, allocations: 0 / 395.4 MB, free: 13.67 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002599/0.3677, allocations: 1.079 MB / 396.5 MB, free: 13.18 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002946/0.368, allocations: 161.3 kB / 396.7 MB, free: 13.04 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.904e-05/0.3681, allocations: 23.22 kB / 396.7 MB, free: 13.02 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005064/0.3686, allocations: 47.5 kB / 396.7 MB, free: 13.01 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001424/0.3688, allocations: 46.7 kB / 396.8 MB, free: 13 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.822e-05/0.3688, allocations: 23.17 kB / 396.8 MB, free: 12.99 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002876/0.3691, allocations: 216.2 kB / 397 MB, free: 12.88 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3692, allocations: 1.375 kB / 397 MB, free: 12.88 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.000898/0.3701, allocations: 185 kB / 397.2 MB, free: 12.84 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (currentSource.pin_p.reference.gamma) * 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 (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,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0003268/0.3704, allocations: 154.1 kB / 397.3 MB, free: 12.74 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002342/0.3727, allocations: 0.9367 MB / 398.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/0.3728, allocations: 1.312 kB / 398.3 MB, free: 12.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001024/0.3738, allocations: 0.5507 MB / 398.8 MB, free: 12 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.3743, allocations: 50.77 kB / 398.9 MB, free: 11.96 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003096/0.3774, allocations: 1.55 MB / 400.4 MB, free: 10.92 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006074/0.378, allocations: 0.8853 MB / 401.3 MB, free: 10.14 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002721/0.3783, allocations: 58.91 kB / 401.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3783, allocations: 0 / 401.4 MB, free: 10.12 MB / 318.1 MB Notification: Performance of Templates: time 0.01961/0.3979, allocations: 13.24 MB / 414.6 MB, free: 15.23 MB / 334.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches