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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009724/0.0009725, allocations: 185.5 kB / 8.135 MB, free: 2.211 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.25/1.25, allocations: 221.4 MB / 229.9 MB, free: 3.066 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009791/0.0009792, allocations: 101.7 kB / 280.8 MB, free: 1.27 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 8.696e-06/8.957e-06, allocations: 4 kB / 336.5 MB, free: 9.504 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2821, allocations: 50.4 MB / 386.9 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1019/0.384, allocations: 86.82 MB / 473.7 MB, free: 15.96 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.3843, allocations: 89.67 kB / 473.8 MB, free: 15.88 MB / 362.7 MB Notification: Performance of FrontEnd: time 0.05944/0.4438, allocations: 25.03 MB / 498.9 MB, free: 6.574 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.073e-05/0.4438, allocations: 15.94 kB / 498.9 MB, free: 6.559 MB / 378.7 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.003376/0.4472, allocations: 1.115 MB / 500 MB, free: 5.398 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.4473, allocations: 8.031 kB / 0.4883 GB, free: 5.391 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002349/0.4496, allocations: 346.7 kB / 0.4886 GB, free: 5.051 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003101/0.4499, allocations: 254.1 kB / 0.4889 GB, free: 4.762 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.603e-05/0.45, allocations: 28 kB / 0.4889 GB, free: 4.734 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.4501, allocations: 55.91 kB / 0.4889 GB, free: 4.68 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001288/0.4514, allocations: 0.6639 MB / 0.4896 GB, free: 4.016 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001234/0.4527, allocations: 0.6807 MB / 0.4903 GB, free: 3.324 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.32e-05/0.4527, allocations: 8 kB / 0.4903 GB, free: 3.316 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.302e-05/0.4528, allocations: 0 / 0.4903 GB, free: 3.316 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.212e-05/0.4528, allocations: 20 kB / 0.4903 GB, free: 3.297 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00475/0.4576, allocations: 2.854 MB / 0.4931 GB, free: 276 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1442/0.6018, allocations: 263.7 kB / 0.4933 GB, free: 0 / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003514/0.6022, allocations: 176.6 kB / 0.4935 GB, free: 125.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000116/0.6023, allocations: 100.1 kB / 0.4936 GB, free: 125.3 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.6024, allocations: 34.94 kB / 0.4936 GB, free: 125.3 MB / 378.7 MB Notification: Performance of pre-optimization done (n=58): time 2.024e-06/0.6024, allocations: 0 / 0.4936 GB, free: 125.3 MB / 378.7 MB Notification: Performance of matching and sorting (n=61): time 0.003845/0.6062, allocations: 1.499 MB / 0.4951 GB, free: 125 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.72e-05/0.6063, allocations: 86.73 kB / 0.4952 GB, free: 124.9 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002304/0.6065, allocations: 257.7 kB / 0.4954 GB, free: 124.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.6066, allocations: 29.45 kB / 0.4954 GB, free: 124.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.6067, allocations: 352.7 kB / 0.4958 GB, free: 124.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000104/0.6068, allocations: 205.7 kB / 0.496 GB, free: 124.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.429e-05/0.6068, allocations: 0 / 0.496 GB, free: 124.4 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 6.503e-05/0.6069, allocations: 358.1 kB / 0.4963 GB, free: 124.1 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000282/0.6072, allocations: 183 kB / 0.4965 GB, free: 124.1 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003551/0.6076, allocations: 420.9 kB / 0.4969 GB, free: 123.9 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005388/0.6081, allocations: 272.8 kB / 0.4971 GB, free: 123.9 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.6081, allocations: 3.469 kB / 0.4972 GB, free: 123.9 MB / 378.7 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001234/0.6094, allocations: 0.7099 MB / 0.4978 GB, free: 123.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.358e-05/0.6094, allocations: 3.438 kB / 0.4978 GB, free: 123.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.6094, allocations: 7.531 kB / 0.4979 GB, free: 123.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002073/0.6096, allocations: 65.14 kB / 0.4979 GB, free: 123.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009502/0.6106, allocations: 227.8 kB / 0.4981 GB, free: 123.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00146/0.612, allocations: 2.535 MB / 0.5006 GB, free: 121.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008113/0.6129, allocations: 64.92 kB / 0.5007 GB, free: 121.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.438e-05/0.6129, allocations: 40.89 kB / 0.5007 GB, free: 121.4 MB / 378.7 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 () * 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.0001581/0.6131, allocations: 125.2 kB / 0.5008 GB, free: 121.3 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-05/0.6132, allocations: 46.41 kB / 0.5009 GB, free: 121.2 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001317/0.6145, allocations: 0.5856 MB / 0.5014 GB, free: 121.2 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.6145, allocations: 7.156 kB / 0.5015 GB, free: 121.2 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.6146, allocations: 3.844 kB / 0.5015 GB, free: 121.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.6146, allocations: 3.656 kB / 0.5015 GB, free: 121.2 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001938/0.6165, allocations: 1.197 MB / 0.5026 GB, free: 120.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.997e-06/0.6165, allocations: 3.25 kB / 0.5026 GB, free: 120.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007668/0.6173, allocations: 150.2 kB / 0.5028 GB, free: 120.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000176/0.6175, allocations: 55.47 kB / 0.5028 GB, free: 120.8 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.113e-05/0.6175, allocations: 9.797 kB / 0.5028 GB, free: 120.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001339/0.6189, allocations: 2.524 MB / 0.5053 GB, free: 118.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6189, allocations: 3.469 kB / 0.5053 GB, free: 118.4 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00127/0.6202, allocations: 0.8589 MB / 0.5061 GB, free: 118.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002537/0.6205, allocations: 173.5 kB / 0.5063 GB, free: 118.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.418e-05/0.6206, allocations: 3.375 kB / 0.5063 GB, free: 118.1 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006103/0.6212, allocations: 57.55 kB / 0.5064 GB, free: 118.1 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.6213, allocations: 39.5 kB / 0.5064 GB, free: 118.1 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.956e-05/0.6213, allocations: 21.81 kB / 0.5064 GB, free: 118.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001598/0.6215, allocations: 190.9 kB / 0.5066 GB, free: 118.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000686/0.6222, allocations: 161.9 kB / 0.5068 GB, free: 118.1 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (core.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete 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.0002686/0.6225, allocations: 164 kB / 0.5069 GB, free: 118 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001011/0.6235, allocations: 0.735 MB / 0.5076 GB, free: 117.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6235, allocations: 0 / 0.5076 GB, free: 117.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004719/0.624, allocations: 453.6 kB / 0.5081 GB, free: 117.6 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002741/0.6243, allocations: 34.28 kB / 0.5081 GB, free: 117.6 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002286/0.6266, allocations: 0.8594 MB / 0.5089 GB, free: 117.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005194/0.6271, allocations: 0.9652 MB / 0.5099 GB, free: 116.6 MB / 378.7 MB Notification: Performance of SimCode: time 4.1e-07/0.6271, allocations: 4 kB / 0.5099 GB, free: 116.6 MB / 378.7 MB Notification: Performance of Templates: time 0.01343/0.6405, allocations: 7.789 MB / 0.5175 GB, free: 116.2 MB / 378.7 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/BasicExamples/ToroidalCoreQuadraticCrossSection/ToroidalCoreQuadraticCrossSection.csv","../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