Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") translateModel(Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary,tolerance=1e-07,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|advancedFeed_x.v|advancedSolenoid.c_par1.v|advancedSolenoid.c_par2.v|advancedSolenoid.coil1.Phi|advancedSolenoid.coil2.Phi|advancedSolenoid.x|simpleFeed_x.v|simpleSolenoid.coil.Phi|simpleSolenoid.x",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary") [: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 3.2.3+maint.om/package.mo): time 0.002374/0.002374, allocations: 179.1 kB / 8.154 MB, free: 2.203 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.2 MB / 213.7 MB, free: 13.94 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001691/0.00169, allocations: 96.33 kB / 261.8 MB, free: 13.63 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 9.238e-06/9.367e-06, allocations: 0 / 314.3 MB, free: 9.059 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2306, allocations: 47.56 MB / 361.8 MB, free: 45.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.139/0.3697, allocations: 91.27 MB / 453.1 MB, free: 10.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003124/0.37, allocations: 83.95 kB / 453.2 MB, free: 10.69 MB / 346.7 MB Notification: Performance of FrontEnd: time 0.2255/0.5955, allocations: 49.31 MB / 0.4907 GB, free: 9.309 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002472/0.5958, allocations: 56 kB / 0.4908 GB, free: 9.254 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 527 * Number of variables: 527 Notification: Performance of Generate backend data structure: time 0.01069/0.6065, allocations: 2.354 MB / 0.4931 GB, free: 6.84 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.6066, allocations: 8.031 kB / 0.4931 GB, free: 6.832 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001388/0.608, allocations: 296.4 kB / 0.4934 GB, free: 6.539 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005243/0.6133, allocations: 1.341 MB / 0.4947 GB, free: 5.145 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001756/0.6135, allocations: 68 kB / 0.4947 GB, free: 5.078 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008331/0.6143, allocations: 119.9 kB / 0.4949 GB, free: 4.961 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007365/0.6217, allocations: 1.668 MB / 0.4965 GB, free: 3.285 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007195/0.629, allocations: 1.487 MB / 0.4979 GB, free: 1.75 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.685e-05/0.6291, allocations: 4 kB / 0.4979 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003023/0.6294, allocations: 0 / 0.4979 GB, free: 1.746 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.177e-05/0.6295, allocations: 48 kB / 0.498 GB, free: 1.699 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1521/0.7816, allocations: 7.285 MB / 0.5051 GB, free: 140.7 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004133/0.7858, allocations: 1.231 MB / 0.5063 GB, free: 140.6 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003694/0.7895, allocations: 1.157 MB / 0.5074 GB, free: 140.6 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002855/0.7899, allocations: 40.23 kB / 0.5075 GB, free: 140.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.431e-05/0.7899, allocations: 63.72 kB / 0.5075 GB, free: 140.6 MB / 394.7 MB Notification: Performance of pre-optimization done (n=240): time 5.05e-06/0.79, allocations: 0 / 0.5075 GB, free: 140.6 MB / 394.7 MB Notification: Performance of matching and sorting (n=372): time 0.06565/0.8556, allocations: 12.12 MB / 0.5194 GB, free: 139.1 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.8557, allocations: 90.92 kB / 0.5195 GB, free: 139.1 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003902/0.8596, allocations: 1.502 MB / 0.5209 GB, free: 138.9 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006708/0.8603, allocations: 25.7 kB / 0.5209 GB, free: 138.9 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002986/0.8607, allocations: 0.5916 MB / 0.5215 GB, free: 138.5 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001538/0.8622, allocations: 1.179 MB / 0.5227 GB, free: 137.7 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003824/0.8627, allocations: 0 / 0.5227 GB, free: 137.7 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002372/0.8629, allocations: 437.4 kB / 0.5231 GB, free: 137.3 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00407/0.867, allocations: 1.15 MB / 0.5242 GB, free: 136.7 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004565/0.8716, allocations: 1.423 MB / 0.5256 GB, free: 136 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004655/0.8763, allocations: 1.318 MB / 0.5269 GB, free: 135.4 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3e-05/0.8764, allocations: 0 / 0.5269 GB, free: 135.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=431) (initialization): time 0.01915/0.8956, allocations: 4.092 MB / 0.5309 GB, free: 133.8 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.8956, allocations: 7.656 kB / 0.5309 GB, free: 133.8 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.815e-05/0.8957, allocations: 3.875 kB / 0.5309 GB, free: 133.8 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01008/0.9058, allocations: 1.319 MB / 0.5322 GB, free: 133.5 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007724/0.9135, allocations: 0.5832 MB / 0.5328 GB, free: 133.5 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04627/0.9599, allocations: 18.33 MB / 0.5506 GB, free: 120.1 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00422/0.9641, allocations: 77.73 kB / 0.5507 GB, free: 120.1 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007684/0.965, allocations: 121.8 kB / 0.5508 GB, free: 120.1 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (309): * Single equations (assignments): 302 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 4,(2,100.0%) 2,(1,100.0%) 3,(3,77.8%) 2,(1,100.0%) 7} * Non-linear torn systems: 2 {6 52,4 41} Notification: Performance of prepare postOptimizeDAE: time 0.0008168/0.9658, allocations: 64.67 kB / 0.5509 GB, free: 120.1 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009327/0.9667, allocations: 263.8 kB / 0.5512 GB, free: 119.9 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01802/0.9848, allocations: 4.106 MB / 0.5552 GB, free: 116.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.681e-05/0.9849, allocations: 36 kB / 0.5552 GB, free: 116.4 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.755e-05/0.9849, allocations: 4 kB / 0.5552 GB, free: 116.4 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.203e-05/0.985, allocations: 18.52 kB / 0.5552 GB, free: 116.4 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03002/1.015, allocations: 8.644 MB / 0.5637 GB, free: 109.3 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.631e-05/1.015, allocations: 4.469 kB / 0.5637 GB, free: 109.3 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005656/1.021, allocations: 0.5205 MB / 0.5642 GB, free: 108.9 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009688/1.031, allocations: 1.244 MB / 0.5654 GB, free: 107.9 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007166/1.031, allocations: 30.03 kB / 0.5654 GB, free: 107.9 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03415/1.065, allocations: 16.51 MB / 0.5815 GB, free: 91.68 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04713/1.113, allocations: 11.72 MB / 0.593 GB, free: 81.06 MB / 394.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.02218/1.135, allocations: 6.204 MB / 0.599 GB, free: 75.09 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002445/1.137, allocations: 0.6822 MB / 0.5997 GB, free: 74.48 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001051/1.138, allocations: 11.61 kB / 0.5997 GB, free: 74.47 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004514/1.143, allocations: 98.41 kB / 0.5998 GB, free: 74.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008872/1.144, allocations: 188.1 kB / 0.6 GB, free: 74.29 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003778/1.144, allocations: 103.4 kB / 0.6001 GB, free: 74.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 0.002691/1.147, allocations: 1.136 MB / 0.6012 GB, free: 73.16 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.004959/1.152, allocations: 0.7786 MB / 0.602 GB, free: 72.39 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 9 ($STATESET1.x,advancedSolenoid.coil1.i,advancedSolenoid.c_par1.v,advancedSolenoid.c_par2.v,advancedSolenoid.g_mLeakWork.Phi,advancedFeed_x.s,advancedFeed_x.v,simpleFeed_x.s,simpleFeed_x.v) * Number of discrete variables: 4 (advancedSolenoid.armature.stopper_xMax.contact,advancedSolenoid.armature.stopper_xMin.contact,simpleSolenoid.armature.stopper_xMax.contact,simpleSolenoid.armature.stopper_xMin.contact) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (261): * Single equations (assignments): 254 * 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: 7 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 5 {(1,100.0%) 3,(1,100.0%) 2,(1,100.0%) 4,(1,100.0%) 4,(1,100.0%) 6} * Non-linear torn systems: 2 {3 43,3 47} Notification: Performance of Backend phase and start with SimCode phase: time 0.001406/1.154, allocations: 322.7 kB / 0.6023 GB, free: 72.21 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.01186/1.165, allocations: 4.023 MB / 0.6062 GB, free: 68.24 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.216e-05/1.165, allocations: 4 kB / 0.6062 GB, free: 68.24 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007547/1.173, allocations: 2.637 MB / 0.6088 GB, free: 65.65 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003048/1.176, allocations: 242.4 kB / 0.609 GB, free: 65.46 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02/1.196, allocations: 5.356 MB / 0.6142 GB, free: 60.58 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004654/1.201, allocations: 2.071 MB / 0.6163 GB, free: 58.92 MB / 394.7 MB Notification: Performance of SimCode: time 1.523e-06/1.201, allocations: 0 / 0.6163 GB, free: 58.92 MB / 394.7 MB Notification: Performance of Templates: time 0.2885/1.489, allocations: 123.4 MB / 0.7367 GB, free: 99.18 MB / 394.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.sim & ./Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/FluxTubes/Examples/SolenoidActuator/ComparisonQuasiStationary/ComparisonQuasiStationary.csv","../files/Modelica_3.2.3_cpp_Modelica.Magnetic.FluxTubes.Examples.SolenoidActuator.ComparisonQuasiStationary.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches