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.00118/0.00118, allocations: 116.9 kB / 18.4 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001389/0.001389, allocations: 200.6 kB / 19.34 MB, free: 3.68 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.488/1.488, allocations: 227.4 MB / 247.5 MB, free: 10.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 59.62 kB / 308.4 MB, free: 15.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1023/0.1035, allocations: 50.53 MB / 358.9 MB, free: 13.35 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006068/0.1096, allocations: 5.08 MB / 364 MB, free: 8.246 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003895/0.1135, allocations: 2.152 MB / 366.1 MB, free: 6.086 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005505/0.1141, allocations: 16 kB / 366.2 MB, free: 6.07 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003153/0.1173, allocations: 1.4 MB / 367.5 MB, free: 4.668 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001448/0.1187, allocations: 425.4 kB / 368 MB, free: 4.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002178/0.1209, allocations: 1.213 MB / 369.2 MB, free: 3.039 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009607/0.1219, allocations: 0.7471 MB / 369.9 MB, free: 2.289 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000928/0.1228, allocations: 0.6572 MB / 370.6 MB, free: 1.617 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004711/0.1233, allocations: 338.8 kB / 370.9 MB, free: 1.285 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004685/0.1238, allocations: 434.3 kB / 371.3 MB, free: 0.8594 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 8.956e-05/0.1239, allocations: 68 kB / 371.4 MB, free: 0.793 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0008325/0.1247, allocations: 415.6 kB / 371.8 MB, free: 396 kB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001256/0.1249, allocations: 167.4 kB / 372 MB, free: 228 kB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.192/0.3169, allocations: 375.6 kB / 372.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002005/0.3189, allocations: 1.206 MB / 373.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.691e-06/0.3189, allocations: 0.9375 kB / 373.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.319, allocations: 2.625 kB / 373.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.371e-05/0.319, allocations: 1.125 kB / 373.6 MB, free: 11.14 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.004324/0.3233, allocations: 1.467 MB / 375 MB, free: 10.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3234, allocations: 10.02 kB / 375 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002636/0.326, allocations: 383.2 kB / 375.4 MB, free: 10.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002503/0.3263, allocations: 266 kB / 375.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.389e-05/0.3263, allocations: 62.22 kB / 375.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001625/0.3265, allocations: 88.22 kB / 375.8 MB, free: 10.29 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001614/0.3281, allocations: 0.872 MB / 376.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.3282, allocations: 4.703 kB / 376.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-05/0.3283, allocations: 33.56 kB / 376.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.659e-05/0.3283, allocations: 20.97 kB / 376.7 MB, free: 10.21 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001747/0.33, allocations: 0.7997 MB / 377.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004507/0.3346, allocations: 3.016 MB / 380.6 MB, free: 8.785 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/0.3357, allocations: 1.003 MB / 381.6 MB, free: 8.016 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004875/0.3362, allocations: 242.6 kB / 381.8 MB, free: 7.926 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001296/0.3363, allocations: 178.2 kB / 382 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.05e-05/0.3364, allocations: 38.97 kB / 382 MB, free: 7.691 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.434e-06/0.3364, allocations: 1.219 kB / 382 MB, free: 7.691 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006903/0.3433, allocations: 2.402 MB / 384.4 MB, free: 6.621 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.562e-05/0.3433, allocations: 84.58 kB / 384.5 MB, free: 6.527 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003966/0.3437, allocations: 320.5 kB / 384.8 MB, free: 6.348 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.964e-05/0.3438, allocations: 36.05 kB / 384.8 MB, free: 6.309 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.344, allocations: 360.7 kB / 385.2 MB, free: 6.02 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001283/0.3441, allocations: 210 kB / 385.4 MB, free: 5.863 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.3444, allocations: 147 kB / 385.5 MB, free: 5.785 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.929e-05/0.3444, allocations: 348.9 kB / 385.9 MB, free: 5.457 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007004/0.3451, allocations: 276.6 kB / 386.2 MB, free: 5.375 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008224/0.346, allocations: 0.5024 MB / 386.7 MB, free: 4.992 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00146/0.3475, allocations: 0.8141 MB / 387.5 MB, free: 4.492 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/0.3475, allocations: 6.562 kB / 387.5 MB, free: 4.488 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.00186/0.3493, allocations: 0.8961 MB / 388.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.3494, allocations: 8.562 kB / 388.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.3494, allocations: 7.469 kB / 388.4 MB, free: 4.18 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000252/0.3496, allocations: 75.28 kB / 388.5 MB, free: 4.148 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000814/0.3505, allocations: 196.1 kB / 388.7 MB, free: 4.141 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001449/0.3519, allocations: 2.868 MB / 391.5 MB, free: 1.277 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006685/0.3526, allocations: 63.98 kB / 391.6 MB, free: 1.262 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.407e-05/0.3527, allocations: 37.28 kB / 391.6 MB, free: 1.254 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.000303/0.353, allocations: 223.1 kB / 391.8 MB, free: 1.078 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.891e-05/0.3531, allocations: 39.94 kB / 391.9 MB, free: 1.059 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001734/0.3548, allocations: 0.735 MB / 392.6 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.3549, allocations: 7.984 kB / 392.6 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.3549, allocations: 1.188 kB / 392.6 MB, free: 0.7656 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.464e-06/0.3549, allocations: 11.45 kB / 392.6 MB, free: 0.7578 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002463/0.3573, allocations: 1.418 MB / 394 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.3574, allocations: 3.938 kB / 394.1 MB, free: 44 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006183/0.358, allocations: 128.7 kB / 394.2 MB, free: 40 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001764/0.3582, allocations: 66.14 kB / 394.2 MB, free: 8 kB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.957e-05/0.3582, allocations: 15.16 kB / 394.3 MB, free: 0 / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002234/0.3605, allocations: 2.849 MB / 397.1 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3605, allocations: 0 / 397.1 MB, free: 13.14 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002488/0.363, allocations: 1.081 MB / 398.2 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002668/0.3633, allocations: 165.4 kB / 398.3 MB, free: 12.52 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.967e-05/0.3633, allocations: 19.59 kB / 398.4 MB, free: 12.5 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004639/0.3638, allocations: 44.88 kB / 398.4 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001193/0.3639, allocations: 41.06 kB / 398.5 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.509e-05/0.364, allocations: 20.86 kB / 398.5 MB, free: 12.48 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002653/0.3643, allocations: 226.4 kB / 398.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3643, allocations: 0 / 398.7 MB, free: 12.36 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0008759/0.3652, allocations: 186 kB / 398.9 MB, free: 12.32 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.0003059/0.3655, allocations: 156.1 kB / 399 MB, free: 12.21 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002012/0.3675, allocations: 0.9077 MB / 399.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.3675, allocations: 1.312 kB / 399.9 MB, free: 11.7 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001034/0.3685, allocations: 0.5502 MB / 400.5 MB, free: 11.33 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004991/0.3691, allocations: 47.52 kB / 400.5 MB, free: 11.3 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002874/0.3719, allocations: 1.239 MB / 401.8 MB, free: 10.56 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004492/0.3724, allocations: 0.8812 MB / 402.7 MB, free: 9.773 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003816/0.3728, allocations: 86.75 kB / 402.7 MB, free: 9.723 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000157/0.373, allocations: 53.59 kB / 402.8 MB, free: 9.707 MB / 318.1 MB Notification: Performance of SimCode: time 1.563e-06/0.373, allocations: 0 / 402.8 MB, free: 9.707 MB / 318.1 MB Notification: Performance of Templates: time 0.0125/0.3855, allocations: 6.353 MB / 409.1 MB, free: 5.246 MB / 318.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 -s cvode -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.0.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