Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.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.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") translateModel(Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|quarterCylinder1.port_p.reference.gamma",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage") [: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.002124/0.002124, allocations: 199 kB / 8.54 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 225.5 MB / 234.4 MB, free: 3.473 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001054/0.001054, allocations: 94.62 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.349e-05/1.375e-05, allocations: 0 / 343.1 MB, free: 8.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1006, allocations: 51.48 MB / 394.6 MB, free: 5.285 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2552/0.356, allocations: 83.08 MB / 477.7 MB, free: 9.949 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000218/0.3562, allocations: 90.19 kB / 477.8 MB, free: 9.918 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.05642/0.4127, allocations: 26.94 MB / 0.4929 GB, free: 4.582 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.875e-05/0.4127, allocations: 16 kB / 0.4929 GB, free: 4.566 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: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.002768/0.4155, allocations: 1.09 MB / 0.494 GB, free: 3.434 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.4155, allocations: 8.031 kB / 0.494 GB, free: 3.426 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001764/0.4173, allocations: 274.7 kB / 0.4942 GB, free: 3.156 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.4176, allocations: 257.9 kB / 0.4945 GB, free: 2.863 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.505e-05/0.4176, allocations: 28 kB / 0.4945 GB, free: 2.836 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001187/0.4177, allocations: 64 kB / 0.4946 GB, free: 2.773 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001264/0.419, allocations: 0.6991 MB / 0.4953 GB, free: 2.074 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001324/0.4203, allocations: 0.7744 MB / 0.496 GB, free: 1.289 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.372e-05/0.4204, allocations: 7.906 kB / 0.496 GB, free: 1.281 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.07e-05/0.4204, allocations: 0 / 0.496 GB, free: 1.281 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.238e-05/0.4205, allocations: 24 kB / 0.4961 GB, free: 1.258 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005081/0.4256, allocations: 3.498 MB / 0.4995 GB, free: 13.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/0.4271, allocations: 0.7779 MB / 0.5002 GB, free: 12.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006397/0.4277, allocations: 400.1 kB / 0.5006 GB, free: 12.34 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001683/0.4279, allocations: 179 kB / 0.5008 GB, free: 12.13 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.674e-05/0.4279, allocations: 48.73 kB / 0.5008 GB, free: 12.08 MB / 378.7 MB Notification: Performance of pre-optimization done (n=87): time 3.597e-06/0.428, allocations: 0 / 0.5008 GB, free: 12.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=87): time 0.001503/0.4295, allocations: 0.6576 MB / 0.5015 GB, free: 11.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.728e-05/0.4295, allocations: 89.8 kB / 0.5016 GB, free: 11.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002929/0.4298, allocations: 271.2 kB / 0.5018 GB, free: 11.02 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.711e-05/0.4299, allocations: 25.7 kB / 0.5018 GB, free: 10.99 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001887/0.4301, allocations: 374.7 kB / 0.5022 GB, free: 10.62 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002063/0.4303, allocations: 295.6 kB / 0.5025 GB, free: 10.32 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.577e-05/0.4303, allocations: 0 / 0.5025 GB, free: 10.32 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.4305, allocations: 358.8 kB / 0.5028 GB, free: 9.965 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003905/0.4309, allocations: 230.6 kB / 0.503 GB, free: 9.738 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005047/0.4314, allocations: 434.4 kB / 0.5035 GB, free: 9.242 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008035/0.4322, allocations: 346.8 kB / 0.5038 GB, free: 8.902 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.4322, allocations: 0 / 0.5038 GB, free: 8.902 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001698/0.4339, allocations: 0.8852 MB / 0.5046 GB, free: 8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.4339, allocations: 11.31 kB / 0.5047 GB, free: 7.992 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.4339, allocations: 8 kB / 0.5047 GB, free: 7.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000385/0.4343, allocations: 119.3 kB / 0.5048 GB, free: 7.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008299/0.4352, allocations: 211.7 kB / 0.505 GB, free: 7.648 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003733/0.4389, allocations: 5.285 MB / 0.5101 GB, free: 1.902 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006169/0.4395, allocations: 78.94 kB / 0.5102 GB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.421e-05/0.4396, allocations: 40 kB / 0.5103 GB, free: 1.785 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 116 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 3,(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001594/0.4398, allocations: 124.8 kB / 0.5104 GB, free: 1.656 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/0.4399, allocations: 47.44 kB / 0.5104 GB, free: 1.609 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0017/0.4416, allocations: 0.8015 MB / 0.5112 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.4416, allocations: 8 kB / 0.5112 GB, free: 0.7695 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.4416, allocations: 8 kB / 0.5112 GB, free: 0.7617 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.158e-06/0.4417, allocations: 3.984 kB / 0.5112 GB, free: 0.7578 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004389/0.4461, allocations: 3.126 MB / 0.5143 GB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.076e-05/0.4461, allocations: 8 kB / 0.5143 GB, free: 13.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006025/0.4467, allocations: 139.8 kB / 0.5144 GB, free: 13.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003328/0.447, allocations: 119.6 kB / 0.5145 GB, free: 12.95 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.123e-05/0.4471, allocations: 19.91 kB / 0.5146 GB, free: 12.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003519/0.4506, allocations: 5.022 MB / 0.5195 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-05/0.4507, allocations: 15.84 kB / 0.5195 GB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002312/0.453, allocations: 1.706 MB / 0.5211 GB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001779/0.4532, allocations: 148.2 kB / 0.5213 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001018/0.4533, allocations: 16 kB / 0.5213 GB, free: 5.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004727/0.4538, allocations: 15.92 kB / 0.5213 GB, free: 5.215 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.752e-05/0.4539, allocations: 64.28 kB / 0.5214 GB, free: 5.152 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.4539, allocations: 36 kB / 0.5214 GB, free: 5.117 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.000213/0.4541, allocations: 203.1 kB / 0.5216 GB, free: 4.918 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001002/0.4551, allocations: 239.2 kB / 0.5218 GB, free: 4.684 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 1 (referenceSensor.port.reference.gamma) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 74 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 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.0002783/0.4554, allocations: 172.6 kB / 0.522 GB, free: 4.512 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001457/0.4569, allocations: 1.029 MB / 0.523 GB, free: 3.441 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4569, allocations: 8.125 kB / 0.523 GB, free: 3.434 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007985/0.4577, allocations: 0.7054 MB / 0.5237 GB, free: 2.688 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004032/0.4581, allocations: 40.55 kB / 0.5237 GB, free: 2.648 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002514/0.4607, allocations: 1.151 MB / 0.5249 GB, free: 1.363 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000791/0.4615, allocations: 0.994 MB / 0.5258 GB, free: 352 kB / 394.7 MB Notification: Performance of SimCode: time 5.48e-06/0.4615, allocations: 8 kB / 0.5258 GB, free: 344 kB / 394.7 MB Notification: Performance of Templates: time 0.01599/0.4775, allocations: 8.78 MB / 0.5344 GB, free: 7.664 MB / 410.7 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FluxTubes/Examples/Leakage/CylinderLeakage/CylinderLeakage.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FluxTubes.Examples.Leakage.CylinderLeakage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches