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.0009295/0.0009296, allocations: 96.11 kB / 18 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001096/0.001096, allocations: 200.4 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.354/1.354, allocations: 227.7 MB / 247.5 MB, free: 9.668 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002349/0.0002349, allocations: 4.281 kB / 308.4 MB, free: 0.5781 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1013/0.1015, allocations: 51.54 MB / 359.9 MB, free: 13.04 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.005089/0.1066, allocations: 4.605 MB / 364.5 MB, free: 8.414 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003865/0.1106, allocations: 2.102 MB / 366.6 MB, free: 6.305 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003675/0.111, allocations: 16 kB / 366.7 MB, free: 6.289 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007731/0.1117, allocations: 302.8 kB / 366.9 MB, free: 5.992 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001045/0.1128, allocations: 366.2 kB / 367.3 MB, free: 5.633 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002154/0.115, allocations: 1.158 MB / 368.5 MB, free: 4.477 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008534/0.1158, allocations: 0.7082 MB / 369.2 MB, free: 3.766 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002035/0.1179, allocations: 1.24 MB / 370.4 MB, free: 2.504 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000398/0.1183, allocations: 286.8 kB / 370.7 MB, free: 2.223 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/0.1187, allocations: 378.4 kB / 371.1 MB, free: 1.852 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.995e-05/0.1188, allocations: 36 kB / 371.1 MB, free: 1.816 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007694/0.1196, allocations: 383.6 kB / 371.5 MB, free: 1.441 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 9.731e-05/0.1197, allocations: 127.4 kB / 371.6 MB, free: 1.316 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002779/0.12, allocations: 363.8 kB / 372 MB, free: 0.9531 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008373/0.1208, allocations: 0.8961 MB / 372.8 MB, free: 56 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1208, allocations: 0 / 372.8 MB, free: 56 kB / 302.1 MB Notification: Performance of FrontEnd: time 8.41e-07/0.1208, allocations: 0 / 372.8 MB, free: 56 kB / 302.1 MB Notification: Performance of Transformations before backend: time 8.576e-06/0.1208, allocations: 0 / 372.8 MB, free: 56 kB / 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.1996/0.3204, allocations: 1.347 MB / 374.2 MB, free: 19.38 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.3205, allocations: 13.09 kB / 374.2 MB, free: 19.38 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002927/0.3235, allocations: 395.2 kB / 374.6 MB, free: 19.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002989/0.3238, allocations: 253.4 kB / 374.8 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.3239, allocations: 64 kB / 374.9 MB, free: 19.09 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/0.3242, allocations: 85.66 kB / 375 MB, free: 19.08 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002143/0.3263, allocations: 0.8903 MB / 375.9 MB, free: 18.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.315e-05/0.3264, allocations: 8.672 kB / 375.9 MB, free: 18.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.633e-05/0.3265, allocations: 41.94 kB / 375.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.646e-05/0.3265, allocations: 19.56 kB / 375.9 MB, free: 18.89 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002027/0.3285, allocations: 0.8272 MB / 376.8 MB, free: 18.62 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004602/0.3331, allocations: 3.044 MB / 379.8 MB, free: 16.61 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001222/0.3344, allocations: 1.014 MB / 380.8 MB, free: 15.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005738/0.335, allocations: 253.4 kB / 381.1 MB, free: 15.73 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000144/0.3351, allocations: 179.1 kB / 381.3 MB, free: 15.54 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.522e-05/0.3352, allocations: 38.59 kB / 381.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.246e-06/0.3352, allocations: 1.438 kB / 381.3 MB, free: 15.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.007965/0.3432, allocations: 2.674 MB / 384 MB, free: 14.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.8e-05/0.3432, allocations: 87.67 kB / 384.1 MB, free: 14.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003707/0.3436, allocations: 319.1 kB / 384.4 MB, free: 14.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.039e-05/0.3437, allocations: 36.59 kB / 384.4 MB, free: 14.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.3438, allocations: 370.7 kB / 384.8 MB, free: 13.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001313/0.344, allocations: 210 kB / 385 MB, free: 13.61 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.269e-05/0.3441, allocations: 64.89 kB / 385 MB, free: 13.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.414e-05/0.3441, allocations: 348.2 kB / 385.4 MB, free: 13.24 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00076/0.3449, allocations: 297.5 kB / 385.7 MB, free: 13.15 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008596/0.3458, allocations: 0.5276 MB / 386.2 MB, free: 12.77 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.3475, allocations: 0.8559 MB / 387 MB, free: 12.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/0.3475, allocations: 2.094 kB / 387 MB, free: 12.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002183/0.3497, allocations: 0.9489 MB / 388 MB, free: 11.87 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.3498, allocations: 8.156 kB / 388 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.375e-05/0.3498, allocations: 7.875 kB / 388 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002684/0.3501, allocations: 69.75 kB / 388.1 MB, free: 11.84 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008772/0.351, allocations: 213.8 kB / 388.3 MB, free: 11.82 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.3525, allocations: 2.667 MB / 391 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007542/0.3532, allocations: 77.91 kB / 391 MB, free: 9.117 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.612e-05/0.3533, allocations: 33.95 kB / 391.1 MB, free: 9.113 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.0003113/0.3536, allocations: 226.1 kB / 391.3 MB, free: 8.918 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.609e-05/0.3537, allocations: 39.33 kB / 391.3 MB, free: 8.898 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002055/0.3558, allocations: 0.7916 MB / 392.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.3558, allocations: 6.797 kB / 392.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.3558, allocations: 1.094 kB / 392.1 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.3558, allocations: 6.797 kB / 392.1 MB, free: 8.578 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00272/0.3586, allocations: 1.459 MB / 393.6 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.3586, allocations: 1.094 kB / 393.6 MB, free: 7.828 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006598/0.3592, allocations: 148.1 kB / 393.7 MB, free: 7.785 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002008/0.3595, allocations: 60.55 kB / 393.8 MB, free: 7.746 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-05/0.3595, allocations: 16.06 kB / 393.8 MB, free: 7.734 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.3608, allocations: 2.646 MB / 396.5 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.3609, allocations: 0 / 396.5 MB, free: 5.004 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002446/0.3633, allocations: 1.156 MB / 397.6 MB, free: 4.367 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/0.3635, allocations: 166.3 kB / 397.8 MB, free: 4.203 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.265e-05/0.3636, allocations: 10.75 kB / 397.8 MB, free: 4.195 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005073/0.3641, allocations: 64.62 kB / 397.8 MB, free: 4.168 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.3643, allocations: 45.31 kB / 397.9 MB, free: 4.145 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.3643, allocations: 18.98 kB / 397.9 MB, free: 4.137 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002175/0.3645, allocations: 213.2 kB / 398.1 MB, free: 4 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3645, allocations: 1.375 kB / 398.1 MB, free: 4 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008045/0.3653, allocations: 185.2 kB / 398.3 MB, free: 3.965 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 (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.0002922/0.3656, allocations: 161.8 kB / 398.5 MB, free: 3.848 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002101/0.3678, allocations: 0.9636 MB / 399.4 MB, free: 3.305 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.3678, allocations: 0 / 399.4 MB, free: 3.305 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001005/0.3688, allocations: 0.5734 MB / 400 MB, free: 2.918 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005077/0.3693, allocations: 49.72 kB / 400 MB, free: 2.887 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.3719, allocations: 1.655 MB / 401.7 MB, free: 1.711 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.3722, allocations: 0.8907 MB / 402.6 MB, free: 0.9258 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000227/0.3724, allocations: 54.61 kB / 402.6 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of SimCode: time 1.042e-06/0.3724, allocations: 0 / 402.6 MB, free: 0.9102 MB / 302.1 MB Notification: Performance of Templates: time 0.01683/0.3893, allocations: 13.11 MB / 415.7 MB, free: 4.652 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/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