Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.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.ToroidalCoreAirgap,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.ToroidalCoreAirgap") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap,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.ToroidalCoreAirgap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00118/0.00118, allocations: 104.5 kB / 17.85 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001347/0.001347, allocations: 205.8 kB / 18.79 MB, free: 4.727 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.361/1.361, allocations: 227.4 MB / 246.9 MB, free: 10.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 60.31 kB / 306.9 MB, free: 1.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09547/0.09684, allocations: 50.54 MB / 357.4 MB, free: 14.5 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap): time 0.006046/0.1029, allocations: 5.031 MB / 362.5 MB, free: 9.445 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003569/0.1065, allocations: 2.145 MB / 364.6 MB, free: 7.289 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005255/0.1071, allocations: 16 kB / 364.6 MB, free: 7.273 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002948/0.1101, allocations: 1.323 MB / 366 MB, free: 5.949 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001144/0.1112, allocations: 370.1 kB / 366.3 MB, free: 5.586 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002181/0.1134, allocations: 1.175 MB / 367.5 MB, free: 4.414 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009013/0.1143, allocations: 0.6965 MB / 368.2 MB, free: 3.715 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009735/0.1153, allocations: 0.6013 MB / 368.8 MB, free: 3.109 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004459/0.1158, allocations: 310.8 kB / 369.1 MB, free: 2.805 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004979/0.1163, allocations: 418.3 kB / 369.5 MB, free: 2.395 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.1164, allocations: 52 kB / 369.6 MB, free: 2.344 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000782/0.1172, allocations: 399.6 kB / 369.9 MB, free: 1.953 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001239/0.1173, allocations: 143.4 kB / 370.1 MB, free: 1.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003249/0.1177, allocations: 362.2 kB / 370.4 MB, free: 1.457 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009039/0.1186, allocations: 0.9117 MB / 371.4 MB, free: 0.543 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.1186, allocations: 0 / 371.4 MB, free: 0.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.032e-06/0.1186, allocations: 0 / 371.4 MB, free: 0.543 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.152e-05/0.1186, allocations: 4 kB / 371.4 MB, free: 0.5391 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.1568/0.2754, allocations: 1.454 MB / 372.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.74e-05/0.2755, allocations: 11.66 kB / 372.8 MB, free: 20.02 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002685/0.2782, allocations: 384.3 kB / 373.2 MB, free: 19.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.2784, allocations: 258.3 kB / 373.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.049e-05/0.2785, allocations: 65.12 kB / 373.5 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000134/0.2786, allocations: 83.17 kB / 373.6 MB, free: 19.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00167/0.2803, allocations: 0.8675 MB / 374.5 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.875e-05/0.2803, allocations: 2.062 kB / 374.5 MB, free: 19.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.381e-05/0.2804, allocations: 36.69 kB / 374.5 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.298e-05/0.2804, allocations: 27.61 kB / 374.5 MB, free: 19.45 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001771/0.2822, allocations: 0.7965 MB / 375.3 MB, free: 19.18 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003953/0.2862, allocations: 3.05 MB / 378.4 MB, free: 17.17 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001045/0.2872, allocations: 1.006 MB / 379.4 MB, free: 16.39 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004782/0.2877, allocations: 240.6 kB / 379.6 MB, free: 16.3 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001139/0.2878, allocations: 176.2 kB / 379.8 MB, free: 16.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.2879, allocations: 43.56 kB / 379.8 MB, free: 16.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 2.174e-06/0.2879, allocations: 0 / 379.8 MB, free: 16.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.006771/0.2947, allocations: 2.39 MB / 382.2 MB, free: 14.99 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.328e-05/0.2947, allocations: 85.09 kB / 382.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.295, allocations: 304.8 kB / 382.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.492e-05/0.295, allocations: 36.14 kB / 382.6 MB, free: 14.69 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.2952, allocations: 361.9 kB / 383 MB, free: 14.4 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00012/0.2953, allocations: 217 kB / 383.2 MB, free: 14.23 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.2955, allocations: 138.7 kB / 383.3 MB, free: 14.16 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 6.799e-05/0.2956, allocations: 348.4 kB / 383.7 MB, free: 13.83 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007055/0.2963, allocations: 274.2 kB / 383.9 MB, free: 13.75 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007767/0.2971, allocations: 0.5031 MB / 384.4 MB, free: 13.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001435/0.2986, allocations: 0.8066 MB / 385.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.2986, allocations: 3.062 kB / 385.3 MB, free: 12.84 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001919/0.3005, allocations: 0.9047 MB / 386.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.09e-05/0.3005, allocations: 10.41 kB / 386.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.3005, allocations: 6.5 kB / 386.2 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002294/0.3008, allocations: 68.08 kB / 386.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008392/0.3016, allocations: 204.2 kB / 386.4 MB, free: 12.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00134/0.303, allocations: 2.656 MB / 389.1 MB, free: 9.742 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006365/0.3036, allocations: 63.73 kB / 389.2 MB, free: 9.727 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.208e-05/0.3037, allocations: 38.77 kB / 389.2 MB, free: 9.719 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.0002575/0.304, allocations: 221.5 kB / 389.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.921e-05/0.3041, allocations: 43 kB / 389.5 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001806/0.3059, allocations: 0.7375 MB / 390.2 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.672e-06/0.3059, allocations: 10.58 kB / 390.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.3059, allocations: 0.9688 kB / 390.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.065e-06/0.3059, allocations: 3.938 kB / 390.2 MB, free: 9.203 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002531/0.3085, allocations: 1.411 MB / 391.6 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.3085, allocations: 0.875 kB / 391.6 MB, free: 8.492 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000673/0.3091, allocations: 134.6 kB / 391.8 MB, free: 8.477 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001835/0.3093, allocations: 54.27 kB / 391.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.3094, allocations: 22.2 kB / 391.8 MB, free: 8.438 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001295/0.3107, allocations: 2.647 MB / 394.5 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.984e-06/0.3107, allocations: 1.188 kB / 394.5 MB, free: 5.734 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002246/0.313, allocations: 1.078 MB / 395.6 MB, free: 5.121 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000166/0.3131, allocations: 161.8 kB / 395.7 MB, free: 4.961 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.569e-05/0.3132, allocations: 13.06 kB / 395.7 MB, free: 4.953 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004751/0.3137, allocations: 50.48 kB / 395.8 MB, free: 4.93 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001235/0.3138, allocations: 52.42 kB / 395.8 MB, free: 4.898 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.658e-05/0.3139, allocations: 15.84 kB / 395.8 MB, free: 4.895 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001885/0.3141, allocations: 207.5 kB / 396 MB, free: 4.758 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3141, allocations: 0 / 396 MB, free: 4.758 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007492/0.3148, allocations: 172.8 kB / 396.2 MB, free: 4.734 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.0002434/0.3151, allocations: 162 kB / 396.4 MB, free: 4.621 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001826/0.3169, allocations: 0.9138 MB / 397.3 MB, free: 4.078 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3169, allocations: 1.312 kB / 397.3 MB, free: 4.078 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008525/0.3178, allocations: 0.549 MB / 397.8 MB, free: 3.699 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004043/0.3182, allocations: 51.19 kB / 397.9 MB, free: 3.668 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002406/0.3206, allocations: 1.597 MB / 399.5 MB, free: 2.562 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002814/0.3209, allocations: 0.8795 MB / 400.4 MB, free: 1.781 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002299/0.3211, allocations: 53.72 kB / 400.4 MB, free: 1.766 MB / 302.1 MB Notification: Performance of SimCode: time 4.4e-07/0.3211, allocations: 4 kB / 400.4 MB, free: 1.762 MB / 302.1 MB Notification: Performance of Templates: time 0.0144/0.3356, allocations: 13.03 MB / 413.4 MB, free: 6.363 MB / 318.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreAirgap/ToroidalCoreAirgap.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreAirgap.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches