Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001495/0.001495, allocations: 92.31 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001722/0.001722, allocations: 161.6 kB / 24.27 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.457/1.457, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.693e-06/1.693e-06, allocations: 0 / 272.3 MB, free: 1.82 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.198e-05/3.367e-05, allocations: 2.312 kB / 272.3 MB, free: 1.816 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003526/0.003559, allocations: 1.736 MB / 274.1 MB, free: 72 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002501/0.006061, allocations: 0.9354 MB / 275 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000123/0.006184, allocations: 0 / 275 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001813/0.006365, allocations: 31.72 kB / 275 MB, free: 15.1 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001448/0.00651, allocations: 43.64 kB / 275.1 MB, free: 15.05 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004422/0.006952, allocations: 95.77 kB / 275.2 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004816/0.007433, allocations: 295.3 kB / 275.5 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.007575, allocations: 37.72 kB / 275.5 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001128/0.008703, allocations: 0.7877 MB / 276.3 MB, free: 13.85 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003036/0.009007, allocations: 127.6 kB / 276.4 MB, free: 13.72 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.009113, allocations: 20 kB / 276.4 MB, free: 13.7 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.431e-05/0.009188, allocations: 24 kB / 276.4 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002123/0.0094, allocations: 143.4 kB / 276.6 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002257/0.009626, allocations: 119.5 kB / 276.7 MB, free: 13.42 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009874/0.01061, allocations: 0.7552 MB / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.01062, allocations: 0 / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.01062, allocations: 0 / 277.5 MB, free: 12.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.591e-05/0.01063, allocations: 3.984 kB / 277.5 MB, free: 12.66 MB / 266.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.001656/0.01229, allocations: 1.109 MB / 278.6 MB, free: 11.47 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.818e-05/0.01233, allocations: 8.031 kB / 278.6 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002106/0.01254, allocations: 100.4 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005246/0.01306, allocations: 338.3 kB / 279 MB, free: 11 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.66e-05/0.0131, allocations: 20.5 kB / 279 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/0.01315, allocations: 20.38 kB / 279 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007869/0.01394, allocations: 485.5 kB / 279.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/0.01395, allocations: 0 / 279.5 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.845e-05/0.014, allocations: 12 kB / 279.5 MB, free: 10.42 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.01401, allocations: 7.938 kB / 279.5 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005223/0.01453, allocations: 373.8 kB / 279.9 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.01581, allocations: 0.6331 MB / 280.5 MB, free: 9.336 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005882/0.0164, allocations: 392.1 kB / 280.9 MB, free: 8.895 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004972/0.0169, allocations: 378.4 kB / 281.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.01691, allocations: 0 / 281.3 MB, free: 8.473 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008824/0.0178, allocations: 0.6167 MB / 281.9 MB, free: 7.77 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.924e-06/0.0178, allocations: 0 / 281.9 MB, free: 7.77 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002227/0.02002, allocations: 1.431 MB / 283.3 MB, free: 6.184 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002151/0.02024, allocations: 285 kB / 283.6 MB, free: 5.844 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001551/0.02179, allocations: 0.9491 MB / 284.6 MB, free: 4.883 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001054/0.0219, allocations: 41.69 kB / 284.6 MB, free: 4.836 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001243/0.02202, allocations: 126 kB / 284.7 MB, free: 4.711 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.999e-05/0.02212, allocations: 67.48 kB / 284.8 MB, free: 4.645 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002855/0.02241, allocations: 165.3 kB / 285 MB, free: 4.477 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002056/0.02261, allocations: 338.8 kB / 285.3 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005901/0.0232, allocations: 361.8 kB / 285.6 MB, free: 3.734 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005124/0.02371, allocations: 405.5 kB / 286 MB, free: 3.277 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009293/0.02464, allocations: 0.7138 MB / 286.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.02465, allocations: 0 / 286.7 MB, free: 2.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001674/0.02632, allocations: 1.032 MB / 287.8 MB, free: 1.312 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002258/0.02655, allocations: 257.5 kB / 288 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.875e-06/0.02655, allocations: 0 / 288 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.398e-05/0.02658, allocations: 0 / 288 MB, free: 1.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.77e-05/0.02662, allocations: 15.92 kB / 288 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.925e-06/0.02663, allocations: 0 / 288 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.02691, allocations: 31.94 kB / 288.1 MB, free: 0.9648 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/0.02707, allocations: 104.2 kB / 288.2 MB, free: 0.8633 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 34 ($PRE.bUF3S1.inertialDelaySensitive.y,$PRE.bUF3S2.inertialDelaySensitive.y,wiredX.auxiliary[2],wiredX.auxiliary[1],bUF3S1.inertialDelaySensitive.t_next,bUF3S1.inertialDelaySensitive.lh,bUF3S1.inertialDelaySensitive.y_old,bUF3S1.inertialDelaySensitive.y_auxiliary,bUF3S1.inertialDelaySensitive.delayTime,bUF3S1.inertialDelaySensitive.y,bUF3S1.inertialDelaySensitive.x,$PRE.bUF3S1.inertialDelaySensitive.x,bUF3S1.yy,bUF3S1.nextstate,x_table1.y,e_table1.y,bUF3S2.inertialDelaySensitive.t_next,bUF3S2.inertialDelaySensitive.lh,bUF3S2.inertialDelaySensitive.y_old,bUF3S2.inertialDelaySensitive.y_auxiliary,bUF3S2.inertialDelaySensitive.delayTime,bUF3S2.inertialDelaySensitive.y,bUF3S2.inertialDelaySensitive.x,$PRE.bUF3S2.inertialDelaySensitive.x,bUF3S2.yy,bUF3S2.nextstate,x_table2.y,e_table2.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.wiredX.auxiliary[2],wiredX.y) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008041/0.02787, allocations: 0.6123 MB / 288.8 MB, free: 196 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001821/0.02805, allocations: 107.5 kB / 288.9 MB, free: 88 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002689/0.02832, allocations: 130.9 kB / 289 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/0.02833, allocations: 0 / 289 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.02833, allocations: 0 / 289 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.02834, allocations: 7.938 kB / 289 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002689/0.03103, allocations: 1.567 MB / 290.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.03103, allocations: 0 / 290.6 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.173e-05/0.03105, allocations: 7.938 kB / 290.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/0.03106, allocations: 4 kB / 290.6 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/0.03112, allocations: 27.98 kB / 290.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.03112, allocations: 3.938 kB / 290.6 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.03112, allocations: 8 kB / 290.7 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001893/0.03302, allocations: 1.236 MB / 291.9 MB, free: 12.84 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009354/0.03395, allocations: 416.9 kB / 292.3 MB, free: 12.42 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.03409, allocations: 20 kB / 292.3 MB, free: 12.4 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002553/0.03434, allocations: 19.98 kB / 292.3 MB, free: 12.38 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002085/0.03455, allocations: 67.92 kB / 292.4 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001798/0.03473, allocations: 115.8 kB / 292.5 MB, free: 12.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001238/0.03597, allocations: 0.6899 MB / 293.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03597, allocations: 0 / 293.2 MB, free: 11.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004805/0.03645, allocations: 92 kB / 293.3 MB, free: 11.43 MB / 282.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]) * Number of clocked states: 0 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002514/0.0367, allocations: 139.2 kB / 293.4 MB, free: 11.29 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001637/0.03834, allocations: 1.244 MB / 294.7 MB, free: 9.844 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.03834, allocations: 0 / 294.7 MB, free: 9.844 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001039/0.03938, allocations: 0.8561 MB / 295.5 MB, free: 8.84 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.04066, allocations: 292.7 kB / 295.8 MB, free: 8.574 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003111/0.04377, allocations: 1.548 MB / 297.4 MB, free: 6.945 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008543/0.04462, allocations: 345 kB / 297.7 MB, free: 6.586 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0003117/0.04493, allocations: 93.27 kB / 297.8 MB, free: 6.492 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000132/0.04507, allocations: 52.42 kB / 297.8 MB, free: 6.441 MB / 282.7 MB Notification: Performance of SimCode: time 2.124e-06/0.04507, allocations: 4 kB / 297.8 MB, free: 6.438 MB / 282.7 MB Notification: Performance of Templates: time 0.1498/0.1949, allocations: 10.27 MB / 308.1 MB, free: 43.02 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.52440196601674]