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.001045/0.001045, allocations: 96.61 kB / 17 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001453/0.001453, allocations: 193 kB / 17.9 MB, free: 5.914 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.7 MB / 246.4 MB, free: 9.816 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001985/0.0001985, allocations: 4 kB / 307.1 MB, free: 0.9531 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08203/0.08225, allocations: 51.54 MB / 358.7 MB, free: 13.42 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.004499/0.08677, allocations: 4.328 MB / 363 MB, free: 9.07 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002723/0.08952, allocations: 1.924 MB / 364.9 MB, free: 7.141 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002004/0.08973, allocations: 16 kB / 364.9 MB, free: 7.125 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004872/0.09023, allocations: 234.8 kB / 365.2 MB, free: 6.895 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007608/0.091, allocations: 334.2 kB / 365.5 MB, free: 6.566 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001649/0.09266, allocations: 0.9967 MB / 366.5 MB, free: 5.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006658/0.09333, allocations: 0.677 MB / 367.2 MB, free: 4.891 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001818/0.09516, allocations: 1.128 MB / 368.3 MB, free: 3.738 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003148/0.09549, allocations: 274.9 kB / 368.5 MB, free: 3.469 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003623/0.09586, allocations: 366.5 kB / 368.9 MB, free: 3.109 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.74e-05/0.09592, allocations: 36 kB / 368.9 MB, free: 3.074 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005975/0.09653, allocations: 359.7 kB / 369.3 MB, free: 2.723 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.285e-05/0.09663, allocations: 123.5 kB / 369.4 MB, free: 2.602 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001089/0.09674, allocations: 153.3 kB / 369.6 MB, free: 2.445 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007765/0.09753, allocations: 0.9 MB / 370.5 MB, free: 1.543 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.09754, allocations: 7.938 kB / 370.5 MB, free: 1.535 MB / 302.1 MB Notification: Performance of FrontEnd: time 9.72e-07/0.09755, allocations: 0 / 370.5 MB, free: 1.535 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.09756, allocations: 0 / 370.5 MB, free: 1.535 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.003608/0.1012, allocations: 1.354 MB / 371.8 MB, free: 132 kB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.097e-05/0.1012, allocations: 16.03 kB / 371.8 MB, free: 116 kB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.148/0.2493, allocations: 376.9 kB / 372.2 MB, free: 18.58 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002331/0.2495, allocations: 256.6 kB / 372.5 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.008e-05/0.2496, allocations: 62.88 kB / 372.5 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001797/0.2498, allocations: 86.8 kB / 372.6 MB, free: 18.35 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001641/0.2514, allocations: 0.8852 MB / 373.5 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.2515, allocations: 6.266 kB / 373.5 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.588e-05/0.2515, allocations: 32.94 kB / 373.5 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.2516, allocations: 20.78 kB / 373.5 MB, free: 18.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.2534, allocations: 0.8242 MB / 374.4 MB, free: 18.26 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003943/0.2574, allocations: 3.042 MB / 377.4 MB, free: 16.37 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009751/0.2584, allocations: 1.008 MB / 378.4 MB, free: 15.59 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004734/0.2588, allocations: 252.7 kB / 378.7 MB, free: 15.49 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001135/0.259, allocations: 176.5 kB / 378.8 MB, free: 15.3 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.344e-05/0.259, allocations: 43.59 kB / 378.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.074e-06/0.259, allocations: 0 / 378.9 MB, free: 15.25 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006418/0.2654, allocations: 2.66 MB / 381.5 MB, free: 14.14 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.162e-05/0.2655, allocations: 85.52 kB / 381.6 MB, free: 14.04 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003184/0.2658, allocations: 324.1 kB / 381.9 MB, free: 13.86 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.332e-05/0.2658, allocations: 36.39 kB / 382 MB, free: 13.82 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.266, allocations: 366.3 kB / 382.3 MB, free: 13.52 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.2662, allocations: 215 kB / 382.5 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.743e-05/0.2662, allocations: 16.25 kB / 382.6 MB, free: 13.35 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.499e-05/0.2663, allocations: 348.4 kB / 382.9 MB, free: 13.02 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006766/0.2669, allocations: 293.1 kB / 383.2 MB, free: 12.93 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007567/0.2677, allocations: 0.5245 MB / 383.7 MB, free: 12.55 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007263/0.2684, allocations: 363.2 kB / 384.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.2685, allocations: 2.281 kB / 384.1 MB, free: 12.4 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001815/0.2703, allocations: 0.9394 MB / 385 MB, free: 12.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.2703, allocations: 8.219 kB / 385 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.209e-05/0.2703, allocations: 6.875 kB / 385 MB, free: 12.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000216/0.2706, allocations: 80.95 kB / 385.1 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007902/0.2714, allocations: 206.2 kB / 385.3 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00122/0.2726, allocations: 2.655 MB / 388 MB, free: 9.324 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005679/0.2732, allocations: 81.55 kB / 388 MB, free: 9.301 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.646e-05/0.2732, allocations: 34.55 kB / 388.1 MB, free: 9.297 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002339/0.2735, allocations: 219 kB / 388.3 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.164e-05/0.2735, allocations: 41.31 kB / 388.3 MB, free: 9.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001726/0.2753, allocations: 0.7751 MB / 389.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.2753, allocations: 7.75 kB / 389.1 MB, free: 8.785 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.2753, allocations: 9.469 kB / 389.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/0.2753, allocations: 2.578 kB / 389.1 MB, free: 8.777 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002536/0.2779, allocations: 1.462 MB / 390.6 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2779, allocations: 0 / 390.6 MB, free: 8.051 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006326/0.2785, allocations: 146.4 kB / 390.7 MB, free: 8.039 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000162/0.2787, allocations: 62.95 kB / 390.8 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.692e-05/0.2787, allocations: 13.75 kB / 390.8 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/0.2799, allocations: 2.651 MB / 393.5 MB, free: 5.328 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.2799, allocations: 9.266 kB / 393.5 MB, free: 5.32 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002149/0.2821, allocations: 1.139 MB / 394.6 MB, free: 4.828 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001775/0.2823, allocations: 165.5 kB / 394.8 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.457e-05/0.2823, allocations: 11.97 kB / 394.8 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004382/0.2828, allocations: 60.8 kB / 394.8 MB, free: 4.664 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.661e-05/0.2829, allocations: 48.2 kB / 394.9 MB, free: 4.656 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.471e-05/0.2829, allocations: 19.02 kB / 394.9 MB, free: 4.652 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001904/0.2831, allocations: 213.8 kB / 395.1 MB, free: 4.535 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2831, allocations: 5.25 kB / 395.1 MB, free: 4.531 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007201/0.2839, allocations: 173.5 kB / 395.3 MB, free: 4.508 MB / 302.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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002231/0.2841, allocations: 163.3 kB / 395.4 MB, free: 4.398 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001689/0.2858, allocations: 0.9515 MB / 396.4 MB, free: 3.957 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/0.2858, allocations: 0 / 396.4 MB, free: 3.957 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008059/0.2866, allocations: 0.5737 MB / 397 MB, free: 3.609 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003698/0.287, allocations: 49.38 kB / 397 MB, free: 3.578 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002248/0.2893, allocations: 1.553 MB / 398.6 MB, free: 2.496 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.2895, allocations: 0.8872 MB / 399.5 MB, free: 1.715 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.000458/0.29, allocations: 83.86 kB / 399.5 MB, free: 1.668 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001523/0.2902, allocations: 43.98 kB / 399.6 MB, free: 1.656 MB / 302.1 MB Notification: Performance of SimCode: time 4.01e-07/0.2902, allocations: 4 kB / 399.6 MB, free: 1.652 MB / 302.1 MB Notification: Performance of Templates: time 0.009854/0.3, allocations: 5.858 MB / 405.4 MB, free: 13.71 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","/var/lib/jenkins/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