Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.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.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX") [: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.001616/0.001616, allocations: 179.8 kB / 8.478 MB, free: 1.887 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.298/1.298, allocations: 205.2 MB / 214.1 MB, free: 5.105 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008744/0.0008744, allocations: 78.53 kB / 262.1 MB, free: 5.156 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 5.07e-06/5.09e-06, allocations: 0 / 315 MB, free: 41.5 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06937/0.06939, allocations: 47.58 MB / 362.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2212/0.2906, allocations: 81.97 MB / 444.5 MB, free: 10.69 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002013/0.2909, allocations: 71.66 kB / 444.6 MB, free: 10.69 MB / 314.7 MB Notification: Performance of FrontEnd: time 0.07483/0.3657, allocations: 42.15 MB / 486.7 MB, free: 7.258 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.172e-05/0.3658, allocations: 11.94 kB / 486.7 MB, free: 7.246 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001363/0.3672, allocations: 0.9435 MB / 487.7 MB, free: 6.203 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.3672, allocations: 8.031 kB / 487.7 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002131/0.3674, allocations: 71.16 kB / 487.8 MB, free: 6.125 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006316/0.3681, allocations: 382.1 kB / 488.1 MB, free: 5.73 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.136e-05/0.3681, allocations: 12 kB / 488.2 MB, free: 5.719 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.3682, allocations: 16 kB / 488.2 MB, free: 5.703 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002954/0.3685, allocations: 140.4 kB / 488.3 MB, free: 5.562 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004731/0.369, allocations: 278.9 kB / 488.6 MB, free: 5.285 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.314e-05/0.369, allocations: 7.938 kB / 488.6 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.587e-05/0.3691, allocations: 4 kB / 488.6 MB, free: 5.273 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.204e-06/0.3691, allocations: 4 kB / 488.6 MB, free: 5.27 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001512/0.3706, allocations: 0.7543 MB / 489.3 MB, free: 4.48 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003109/0.3709, allocations: 198.4 kB / 489.5 MB, free: 4.277 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002531/0.3712, allocations: 176.8 kB / 489.7 MB, free: 4.102 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.3712, allocations: 4 kB / 489.7 MB, free: 4.098 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004249/0.3717, allocations: 389.8 kB / 490.1 MB, free: 3.684 MB / 330.7 MB Notification: Performance of pre-optimization done (n=29): time 2.024e-06/0.3717, allocations: 4 kB / 490.1 MB, free: 3.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007764/0.3725, allocations: 464.9 kB / 490.6 MB, free: 3.219 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001361/0.3726, allocations: 277 kB / 490.8 MB, free: 2.887 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001005/0.3736, allocations: 0.8 MB / 491.6 MB, free: 2.078 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.998e-05/0.3737, allocations: 33.7 kB / 491.7 MB, free: 2.039 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.347e-05/0.3737, allocations: 106 kB / 491.8 MB, free: 1.93 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.472e-05/0.3738, allocations: 55.3 kB / 491.8 MB, free: 1.875 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-05/0.3739, allocations: 12 kB / 491.8 MB, free: 1.863 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.374, allocations: 338.7 kB / 492.2 MB, free: 1.523 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/0.3743, allocations: 132.2 kB / 492.3 MB, free: 1.395 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002446/0.3745, allocations: 162.1 kB / 492.4 MB, free: 1.23 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002028/0.3747, allocations: 111.9 kB / 492.6 MB, free: 1.121 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3747, allocations: 0 / 492.6 MB, free: 1.121 MB / 330.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006685/0.3754, allocations: 413.2 kB / 493 MB, free: 0.7109 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.3754, allocations: 8 kB / 493 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.3755, allocations: 3.984 kB / 493 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.197e-05/0.3755, allocations: 4.031 kB / 493 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.319e-05/0.3755, allocations: 11.94 kB / 493 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.283e-06/0.3755, allocations: 4 kB / 493 MB, free: 0.6797 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002646/0.3758, allocations: 23.89 kB / 493 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002423/0.376, allocations: 259.8 kB / 493.3 MB, free: 412 kB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 34 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.auxiliary[1],wiredX.auxiliary[2],wiredX.y,$PRE.wiredX.auxiliary[2]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003358/0.3764, allocations: 385.6 kB / 493.6 MB, free: 15.97 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001037/0.3765, allocations: 79.06 kB / 493.7 MB, free: 15.89 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002341/0.3767, allocations: 126.9 kB / 493.8 MB, free: 15.77 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/0.3768, allocations: 4 kB / 493.9 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3768, allocations: 3.938 kB / 493.9 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3768, allocations: 0 / 493.9 MB, free: 15.76 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001387/0.3782, allocations: 1.005 MB / 494.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.3782, allocations: 0 / 494.9 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.5e-05/0.3782, allocations: 8 kB / 494.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.3782, allocations: 0 / 494.9 MB, free: 14.7 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.713e-05/0.3783, allocations: 47.95 kB / 494.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.3783, allocations: 0 / 494.9 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.3783, allocations: 3.938 kB / 494.9 MB, free: 14.65 MB / 346.7 MB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000775/0.3791, allocations: 0.5765 MB / 495.5 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006604/0.3798, allocations: 447.6 kB / 495.9 MB, free: 13.6 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000152/0.3799, allocations: 23.98 kB / 496 MB, free: 13.58 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002691/0.3802, allocations: 27.98 kB / 496 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001808/0.3804, allocations: 67.92 kB / 496 MB, free: 13.48 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002578/0.3807, allocations: 267.5 kB / 496.3 MB, free: 13.22 MB / 346.7 MB Notification: Performance of sort global known variables: time 0.0008305/0.3815, allocations: 0.6548 MB / 497 MB, free: 12.57 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0003928/0.3819, allocations: 76 kB / 497 MB, free: 12.5 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 29 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,bUF3S2.inertialDelaySensitive.x,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.t_next,e_table1.y,x_table1.y,bUF3S1.nextstate,bUF3S1.yy,bUF3S1.inertialDelaySensitive.x,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.t_next,wiredX.y,wiredX.auxiliary[1],wiredX.auxiliary[2]) * Number of discrete states: 27 (e_table2.y,x_table2.y,bUF3S2.yy,bUF3S2.nextstate,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,$whenCondition4,$whenCondition3,bUF3S2.inertialDelaySensitive.x,e_table1.y,x_table1.y,bUF3S1.yy,bUF3S1.nextstate,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,$whenCondition2,$whenCondition1,bUF3S1.inertialDelaySensitive.x,wiredX.auxiliary[2]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 8 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002304/0.3821, allocations: 153.4 kB / 497.2 MB, free: 12.33 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.000721/0.3829, allocations: 0.5594 MB / 497.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3829, allocations: 0 / 497.7 MB, free: 11.73 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005391/0.3834, allocations: 0.5444 MB / 498.3 MB, free: 11.13 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000905/0.3843, allocations: 218.5 kB / 498.5 MB, free: 10.92 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.3861, allocations: 1.053 MB / 499.6 MB, free: 9.828 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007477/0.3869, allocations: 1.048 MB / 0.4889 GB, free: 8.75 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3869, allocations: 0 / 0.4889 GB, free: 8.75 MB / 346.7 MB Notification: Performance of Templates: time 0.01551/0.4024, allocations: 11.91 MB / 0.5005 GB, free: 12.64 MB / 362.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches