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.001135/0.001136, allocations: 117.9 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.327/1.327, allocations: 227.4 MB / 246.4 MB, free: 10.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001225/0.001225, allocations: 59.78 kB / 306.4 MB, free: 0.9492 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08112/0.08236, allocations: 50.54 MB / 357 MB, free: 14.41 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.00617/0.08856, allocations: 5.07 MB / 362.1 MB, free: 9.309 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003287/0.09187, allocations: 2.117 MB / 364.2 MB, free: 7.184 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004055/0.09229, allocations: 19.94 kB / 364.2 MB, free: 7.164 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003017/0.09532, allocations: 1.327 MB / 365.5 MB, free: 5.836 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001194/0.09653, allocations: 358.2 kB / 365.9 MB, free: 5.484 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002724/0.09926, allocations: 1.137 MB / 367 MB, free: 4.348 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001263/0.1005, allocations: 0.7433 MB / 367.8 MB, free: 3.602 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00137/0.1019, allocations: 0.7352 MB / 368.5 MB, free: 2.859 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006065/0.1025, allocations: 330.8 kB / 368.8 MB, free: 2.535 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006499/0.1032, allocations: 438.3 kB / 369.2 MB, free: 2.105 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002098/0.1034, allocations: 68 kB / 369.3 MB, free: 2.039 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001142/0.1046, allocations: 419.6 kB / 369.7 MB, free: 1.629 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002124/0.1048, allocations: 163.4 kB / 369.9 MB, free: 1.469 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004931/0.1053, allocations: 382.1 kB / 370.3 MB, free: 1.094 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.1543/0.2596, allocations: 1.198 MB / 371.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2597, allocations: 0 / 371.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.2597, allocations: 0.9062 kB / 371.4 MB, free: 11.64 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.298e-05/0.2597, allocations: 0 / 371.4 MB, free: 11.64 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.004443/0.2642, allocations: 1.466 MB / 372.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.2642, allocations: 9.75 kB / 372.9 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002726/0.267, allocations: 388.5 kB / 373.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002788/0.2673, allocations: 264.2 kB / 373.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.715e-05/0.2673, allocations: 66.72 kB / 373.6 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001598/0.2675, allocations: 79.22 kB / 373.7 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.2693, allocations: 0.8796 MB / 374.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.226e-05/0.2694, allocations: 4.562 kB / 374.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.907e-05/0.2695, allocations: 31 kB / 374.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.422e-05/0.2695, allocations: 21.41 kB / 374.6 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00183/0.2714, allocations: 0.7979 MB / 375.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004568/0.276, allocations: 3.041 MB / 378.5 MB, free: 9.484 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.2771, allocations: 1.007 MB / 379.5 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004785/0.2776, allocations: 240 kB / 379.7 MB, free: 8.762 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001144/0.2777, allocations: 174.2 kB / 379.9 MB, free: 8.574 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.826e-05/0.2777, allocations: 38.86 kB / 379.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 1.933e-06/0.2777, allocations: 0 / 379.9 MB, free: 8.527 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.007105/0.2848, allocations: 2.404 MB / 382.3 MB, free: 7.449 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.435e-05/0.2849, allocations: 87.38 kB / 382.4 MB, free: 7.355 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003076/0.2852, allocations: 323.6 kB / 382.7 MB, free: 7.176 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.824e-05/0.2852, allocations: 39.67 kB / 382.8 MB, free: 7.133 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.2854, allocations: 361.7 kB / 383.1 MB, free: 6.844 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001183/0.2855, allocations: 205.7 kB / 383.3 MB, free: 6.688 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.2857, allocations: 147 kB / 383.5 MB, free: 6.609 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.122e-05/0.2858, allocations: 348.4 kB / 383.8 MB, free: 6.281 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007235/0.2865, allocations: 274.7 kB / 384.1 MB, free: 6.199 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007866/0.2873, allocations: 0.5027 MB / 384.6 MB, free: 5.82 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.2888, allocations: 0.8113 MB / 385.4 MB, free: 5.32 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.2888, allocations: 2.281 kB / 385.4 MB, free: 5.32 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001911/0.2908, allocations: 0.8995 MB / 386.3 MB, free: 5.008 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.172e-05/0.2908, allocations: 8.812 kB / 386.3 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.462e-05/0.2908, allocations: 11.25 kB / 386.3 MB, free: 5.008 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002368/0.2911, allocations: 73.58 kB / 386.4 MB, free: 4.977 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008674/0.2919, allocations: 198.5 kB / 386.6 MB, free: 4.969 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001346/0.2933, allocations: 2.868 MB / 389.4 MB, free: 2.102 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006784/0.294, allocations: 63.27 kB / 389.5 MB, free: 2.086 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.899e-05/0.2941, allocations: 38.39 kB / 389.5 MB, free: 2.078 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.0002469/0.2943, allocations: 217.1 kB / 389.8 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.711e-05/0.2944, allocations: 39.69 kB / 389.8 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001792/0.2962, allocations: 0.7435 MB / 390.5 MB, free: 1.586 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.2962, allocations: 11.03 kB / 390.6 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.2962, allocations: 1.406 kB / 390.6 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.2962, allocations: 3.938 kB / 390.6 MB, free: 1.582 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002393/0.2986, allocations: 1.42 MB / 392 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.266e-06/0.2987, allocations: 1.219 kB / 392 MB, free: 0.8711 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006555/0.2993, allocations: 132.9 kB / 392.1 MB, free: 0.8633 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000177/0.2995, allocations: 70.44 kB / 392.2 MB, free: 0.832 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.968e-05/0.2996, allocations: 15.61 kB / 392.2 MB, free: 0.8242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001703/0.3013, allocations: 2.843 MB / 395 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3013, allocations: 4.016 kB / 395 MB, free: 13.96 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002429/0.3037, allocations: 1.073 MB / 396.1 MB, free: 13.48 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002111/0.3039, allocations: 161.9 kB / 396.3 MB, free: 13.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.46e-05/0.304, allocations: 18.84 kB / 396.3 MB, free: 13.32 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005233/0.3045, allocations: 54.94 kB / 396.3 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/0.3047, allocations: 44.02 kB / 396.4 MB, free: 13.3 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.441e-05/0.3048, allocations: 21.52 kB / 396.4 MB, free: 13.3 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0002787/0.305, allocations: 222.9 kB / 396.6 MB, free: 13.18 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.305, allocations: 1.156 kB / 396.6 MB, free: 13.18 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007617/0.3058, allocations: 174.3 kB / 396.8 MB, free: 13.15 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.0002523/0.3061, allocations: 166.8 kB / 397 MB, free: 13.04 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002103/0.3082, allocations: 0.9302 MB / 397.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.3082, allocations: 1.375 kB / 397.9 MB, free: 12.62 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009466/0.3092, allocations: 0.5496 MB / 398.4 MB, free: 12.3 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004168/0.3096, allocations: 56.16 kB / 398.5 MB, free: 12.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002787/0.3124, allocations: 1.551 MB / 400 MB, free: 11.22 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000418/0.3128, allocations: 0.8851 MB / 400.9 MB, free: 10.44 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004632/0.3133, allocations: 92.56 kB / 401 MB, free: 10.38 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.3134, allocations: 43.14 kB / 401.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3135, allocations: 0 / 401.1 MB, free: 10.38 MB / 318.1 MB Notification: Performance of Templates: time 0.01104/0.3245, allocations: 6.34 MB / 407.4 MB, free: 6.066 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