Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001615/0.001615, allocations: 109 kB / 17.28 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001865/0.001866, allocations: 197.3 kB / 18.21 MB, free: 5.145 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.414/1.414, allocations: 222.9 MB / 241.9 MB, free: 15.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001148/0.001148, allocations: 51.27 kB / 300.8 MB, free: 6.203 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0924/0.09357, allocations: 49.45 MB / 350.3 MB, free: 4.746 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection): time 0.006502/0.1001, allocations: 5.052 MB / 355.3 MB, free: 15.66 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003621/0.1038, allocations: 2.067 MB / 357.4 MB, free: 13.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000629/0.1044, allocations: 16 kB / 357.4 MB, free: 13.57 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003412/0.1078, allocations: 1.317 MB / 358.7 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001738/0.1096, allocations: 0.5171 MB / 359.2 MB, free: 11.73 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.1117, allocations: 0.9905 MB / 360.2 MB, free: 10.75 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001139/0.1129, allocations: 0.7434 MB / 361 MB, free: 10 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001249/0.1141, allocations: 0.743 MB / 361.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005381/0.1147, allocations: 342.8 kB / 362 MB, free: 8.914 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005996/0.1153, allocations: 434.3 kB / 362.5 MB, free: 8.488 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001425/0.1154, allocations: 71.94 kB / 362.5 MB, free: 8.418 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009389/0.1164, allocations: 391.6 kB / 362.9 MB, free: 8.035 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001723/0.1166, allocations: 163.4 kB / 363.1 MB, free: 7.875 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004355/0.117, allocations: 382.1 kB / 363.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001245/0.1183, allocations: 0.9156 MB / 364.4 MB, free: 6.582 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.1183, allocations: 4 kB / 364.4 MB, free: 6.578 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.1183, allocations: 0 / 364.4 MB, free: 6.578 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.204e-05/0.1183, allocations: 0 / 364.4 MB, free: 6.578 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.004722/0.1231, allocations: 1.463 MB / 365.8 MB, free: 5.066 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.1231, allocations: 8.031 kB / 365.8 MB, free: 5.059 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002693/0.1258, allocations: 379.7 kB / 366.2 MB, free: 4.688 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002885/0.1261, allocations: 259.3 kB / 366.5 MB, free: 4.395 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.119e-05/0.1262, allocations: 66.38 kB / 366.5 MB, free: 4.328 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.1264, allocations: 80.38 kB / 366.6 MB, free: 4.25 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001925/0.1283, allocations: 0.8798 MB / 367.5 MB, free: 3.359 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.54e-05/0.1284, allocations: 4 kB / 367.5 MB, free: 3.355 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-05/0.1284, allocations: 32 kB / 367.5 MB, free: 3.324 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.816e-05/0.1285, allocations: 23.98 kB / 367.5 MB, free: 3.301 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001923/0.1304, allocations: 0.8081 MB / 368.3 MB, free: 2.492 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1996/0.33, allocations: 2.955 MB / 371.3 MB, free: 24.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/0.3313, allocations: 0.9939 MB / 372.3 MB, free: 23.82 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005587/0.3319, allocations: 241.6 kB / 372.5 MB, free: 23.82 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.332, allocations: 97.05 kB / 372.6 MB, free: 23.72 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.378e-05/0.3321, allocations: 38.52 kB / 372.7 MB, free: 23.68 MB / 302.1 MB Notification: Performance of pre-optimization done (n=58): time 3.667e-06/0.3321, allocations: 4.625 kB / 372.7 MB, free: 23.68 MB / 302.1 MB Notification: Performance of matching and sorting (n=61): time 0.008373/0.3405, allocations: 2.428 MB / 375.1 MB, free: 22.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.001e-05/0.3405, allocations: 84.55 kB / 375.2 MB, free: 22.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003468/0.3409, allocations: 312.2 kB / 375.5 MB, free: 22.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.578e-05/0.3409, allocations: 35.08 kB / 375.5 MB, free: 22.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001632/0.3411, allocations: 375 kB / 375.9 MB, free: 22.13 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/0.3412, allocations: 208 kB / 376.1 MB, free: 21.97 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002366/0.3415, allocations: 146.7 kB / 376.2 MB, free: 21.9 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.922e-05/0.3415, allocations: 351.4 kB / 376.6 MB, free: 21.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008078/0.3424, allocations: 276.8 kB / 376.8 MB, free: 21.49 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009043/0.3433, allocations: 0.5059 MB / 377.4 MB, free: 21.11 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.3449, allocations: 0.8191 MB / 378.2 MB, free: 20.59 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.007e-06/0.345, allocations: 1.5 kB / 378.2 MB, free: 20.59 MB / 302.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.002159/0.3471, allocations: 0.9027 MB / 379.1 MB, free: 20.24 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.3472, allocations: 14.84 kB / 379.1 MB, free: 20.24 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.65e-05/0.3472, allocations: 7.938 kB / 379.1 MB, free: 20.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002476/0.3474, allocations: 70.97 kB / 379.2 MB, free: 20.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008876/0.3483, allocations: 206.5 kB / 379.4 MB, free: 20.19 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001555/0.3499, allocations: 2.868 MB / 382.2 MB, free: 17.31 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006789/0.3506, allocations: 69.05 kB / 382.3 MB, free: 17.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-05/0.3507, allocations: 43.16 kB / 382.3 MB, free: 17.28 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.0002628/0.3509, allocations: 214.4 kB / 382.6 MB, free: 17.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.388e-05/0.351, allocations: 40.12 kB / 382.6 MB, free: 17.08 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002251/0.3533, allocations: 0.7471 MB / 383.3 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.3533, allocations: 6.625 kB / 383.3 MB, free: 16.78 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3533, allocations: 5.219 kB / 383.4 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.376e-06/0.3533, allocations: 3.141 kB / 383.4 MB, free: 16.77 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002884/0.3562, allocations: 1.431 MB / 384.8 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.117e-06/0.3562, allocations: 3.438 kB / 384.8 MB, free: 16.05 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007011/0.3569, allocations: 136.7 kB / 384.9 MB, free: 16.04 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001901/0.3571, allocations: 65.27 kB / 385 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.598e-05/0.3572, allocations: 15.91 kB / 385 MB, free: 16 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001495/0.3587, allocations: 2.846 MB / 387.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3587, allocations: 0.5625 kB / 387.8 MB, free: 13.12 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002735/0.3614, allocations: 1.088 MB / 388.9 MB, free: 12.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002275/0.3617, allocations: 162.7 kB / 389.1 MB, free: 12.49 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.18e-05/0.3618, allocations: 15.23 kB / 389.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005546/0.3623, allocations: 55.16 kB / 389.2 MB, free: 12.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001679/0.3625, allocations: 51.06 kB / 389.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/0.3626, allocations: 23.66 kB / 389.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002628/0.3628, allocations: 217.4 kB / 389.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.3628, allocations: 0 / 389.4 MB, free: 12.33 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000815/0.3636, allocations: 174 kB / 389.6 MB, free: 12.3 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.0002976/0.364, allocations: 167.5 kB / 389.8 MB, free: 12.19 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002476/0.3664, allocations: 0.9449 MB / 390.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/0.3665, allocations: 0 / 390.7 MB, free: 11.74 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001096/0.3676, allocations: 0.553 MB / 391.3 MB, free: 11.42 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000453/0.368, allocations: 41.69 kB / 391.3 MB, free: 11.39 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003342/0.3714, allocations: 1.593 MB / 392.9 MB, free: 10.4 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003818/0.3718, allocations: 0.8844 MB / 393.8 MB, free: 9.695 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002605/0.372, allocations: 65.03 kB / 393.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3721, allocations: 0 / 393.9 MB, free: 9.684 MB / 302.1 MB Notification: Performance of Templates: time 0.01509/0.3871, allocations: 13.23 MB / 407.1 MB, free: 0.5586 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.BasicExamples.ToroidalCoreQuadraticCrossSection.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches