Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|cuboidRight.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections") [: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 trunk/package.mo): time 0.001136/0.001136, allocations: 195.6 kB / 8.54 MB, free: 1.82 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.202/1.202, allocations: 225.5 MB / 234.4 MB, free: 3.316 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009018/0.0009018, allocations: 94.22 kB / 286.3 MB, free: 5.273 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 5.961e-06/6.001e-06, allocations: 0 / 343.1 MB, free: 8.684 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09201/0.09203, allocations: 51.48 MB / 394.6 MB, free: 5.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2381/0.3302, allocations: 82.62 MB / 477.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.3305, allocations: 87.17 kB / 477.3 MB, free: 10.27 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.04875/0.3792, allocations: 21.45 MB / 498.8 MB, free: 9.559 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.118e-05/0.3793, allocations: 15.38 kB / 498.8 MB, free: 9.547 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 188 * Number of variables: 188 Notification: Performance of Generate backend data structure: time 0.002951/0.3823, allocations: 0.9817 MB / 499.8 MB, free: 8.605 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.989e-05/0.3823, allocations: 12.03 kB / 499.8 MB, free: 8.594 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001476/0.3838, allocations: 222.7 kB / 0.4883 GB, free: 8.398 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.3841, allocations: 230.2 kB / 0.4885 GB, free: 8.133 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.403e-05/0.3841, allocations: 27.98 kB / 0.4885 GB, free: 8.105 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.3842, allocations: 47.91 kB / 0.4886 GB, free: 8.059 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009794/0.3852, allocations: 0.5769 MB / 0.4891 GB, free: 7.691 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001004/0.3862, allocations: 0.6185 MB / 0.4898 GB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.646e-05/0.3863, allocations: 0 / 0.4898 GB, free: 7.242 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.496e-05/0.3863, allocations: 4 kB / 0.4898 GB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.3863, allocations: 19.91 kB / 0.4898 GB, free: 7.219 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004649/0.391, allocations: 3.192 MB / 0.4929 GB, free: 4.137 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001327/0.3923, allocations: 0.655 MB / 0.4935 GB, free: 3.469 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004518/0.3928, allocations: 271.6 kB / 0.4938 GB, free: 3.199 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001871/0.393, allocations: 182.8 kB / 0.494 GB, free: 2.984 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.3931, allocations: 41.38 kB / 0.494 GB, free: 2.938 MB / 362.7 MB Notification: Performance of pre-optimization done (n=72): time 2.595e-06/0.3931, allocations: 0 / 0.494 GB, free: 2.938 MB / 362.7 MB Notification: Performance of matching and sorting (n=72): time 0.001377/0.3944, allocations: 0.5868 MB / 0.4946 GB, free: 2.336 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.3945, allocations: 111.5 kB / 0.4947 GB, free: 2.203 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002358/0.3948, allocations: 220 kB / 0.4949 GB, free: 1.98 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.3948, allocations: 25.7 kB / 0.4949 GB, free: 1.949 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.395, allocations: 283.5 kB / 0.4952 GB, free: 1.664 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001671/0.3952, allocations: 244.4 kB / 0.4954 GB, free: 1.422 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.3952, allocations: 0 / 0.4954 GB, free: 1.422 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.3954, allocations: 350.7 kB / 0.4958 GB, free: 1.07 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.3957, allocations: 186 kB / 0.4959 GB, free: 0.8867 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004369/0.3961, allocations: 336.2 kB / 0.4963 GB, free: 0.5039 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006784/0.3968, allocations: 268.4 kB / 0.4965 GB, free: 252 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.3968, allocations: 0 / 0.4965 GB, free: 252 kB / 362.7 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.0015/0.3983, allocations: 0.7382 MB / 0.4972 GB, free: 15.5 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3984, allocations: 8 kB / 0.4972 GB, free: 15.49 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/0.3984, allocations: 4 kB / 0.4972 GB, free: 15.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003894/0.3988, allocations: 117.7 kB / 0.4974 GB, free: 15.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007539/0.3995, allocations: 163.7 kB / 0.4975 GB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002946/0.4025, allocations: 3.221 MB / 0.5007 GB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006601/0.4032, allocations: 79.31 kB / 0.5007 GB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.728e-05/0.4033, allocations: 24 kB / 0.5008 GB, free: 11.66 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 84 * 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%) 7,(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001532/0.4034, allocations: 128.6 kB / 0.5009 GB, free: 11.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.4035, allocations: 39.53 kB / 0.5009 GB, free: 11.48 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001519/0.4051, allocations: 0.6737 MB / 0.5016 GB, free: 10.79 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/0.4051, allocations: 8.219 kB / 0.5016 GB, free: 10.78 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.704e-06/0.4051, allocations: 4 kB / 0.5016 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.4051, allocations: 7.922 kB / 0.5016 GB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002384/0.4075, allocations: 1.384 MB / 0.5029 GB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.357e-06/0.4075, allocations: 0 / 0.5029 GB, free: 9.316 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/0.4081, allocations: 119.8 kB / 0.5031 GB, free: 9.199 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003017/0.4084, allocations: 109.6 kB / 0.5032 GB, free: 9.086 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.892e-05/0.4085, allocations: 7.984 kB / 0.5032 GB, free: 9.078 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002665/0.4111, allocations: 2.921 MB / 0.506 GB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.4112, allocations: 0 / 0.506 GB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.001811/0.413, allocations: 1.047 MB / 0.507 GB, free: 4.855 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001235/0.4131, allocations: 120.5 kB / 0.5072 GB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.964e-05/0.4132, allocations: 2.625 kB / 0.5072 GB, free: 4.719 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.4137, allocations: 24.05 kB / 0.5072 GB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.934e-05/0.4138, allocations: 48.58 kB / 0.5072 GB, free: 4.648 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.084e-05/0.4138, allocations: 16 kB / 0.5072 GB, free: 4.633 MB / 378.7 MB Notification: Performance of sort global known variables: time 0.0001627/0.414, allocations: 168.5 kB / 0.5074 GB, free: 4.469 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000857/0.4149, allocations: 203.4 kB / 0.5076 GB, free: 4.27 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (cuboidBottom.port_p.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 58 * 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%) 6,(1,100.0%) 6} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002544/0.4151, allocations: 151.1 kB / 0.5077 GB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001193/0.4163, allocations: 0.7541 MB / 0.5085 GB, free: 3.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.4163, allocations: 4 kB / 0.5085 GB, free: 3.336 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005618/0.4169, allocations: 487 kB / 0.509 GB, free: 2.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.4172, allocations: 12.44 kB / 0.509 GB, free: 2.828 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.4191, allocations: 0.817 MB / 0.5098 GB, free: 1.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005985/0.4197, allocations: 0.943 MB / 0.5107 GB, free: 1.012 MB / 378.7 MB Notification: Performance of SimCode: time 4e-07/0.4197, allocations: 0 / 0.5107 GB, free: 1.012 MB / 378.7 MB Notification: Performance of Templates: time 0.01278/0.4325, allocations: 7.583 MB / 0.5181 GB, free: 9.543 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/FixedShapes/CuboidSections/CuboidSections.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.FixedShapes.CuboidSections.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches