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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001289/0.001288, allocations: 94.69 kB / 16.94 MB, free: 6.445 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00129/0.00129, allocations: 183.1 kB / 17.83 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.82/1.82, allocations: 205.4 MB / 224 MB, free: 13.18 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005195/0.0005198, allocations: 12.78 kB / 280.7 MB, free: 3.77 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1327, allocations: 47.58 MB / 328.3 MB, free: 4.121 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002082/0.1349, allocations: 1.451 MB / 329.8 MB, free: 2.66 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002006/0.1369, allocations: 0.9565 MB / 330.7 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.137, allocations: 0 / 330.7 MB, free: 1.695 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000144/0.1371, allocations: 15.92 kB / 330.7 MB, free: 1.68 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 8.45e-05/0.1372, allocations: 35.86 kB / 330.8 MB, free: 1.645 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003232/0.1376, allocations: 67.86 kB / 330.8 MB, free: 1.578 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002334/0.1378, allocations: 151.8 kB / 331 MB, free: 1.43 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001512/0.138, allocations: 45.8 kB / 331 MB, free: 1.383 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005958/0.1386, allocations: 0.5264 MB / 331.6 MB, free: 0.8555 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000189/0.1388, allocations: 159.6 kB / 331.7 MB, free: 0.6992 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 4.89e-05/0.1388, allocations: 8 kB / 331.7 MB, free: 0.6914 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.414e-05/0.1389, allocations: 12 kB / 331.7 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001305/0.139, allocations: 131.5 kB / 331.9 MB, free: 0.5508 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001236/0.1391, allocations: 121.4 kB / 332 MB, free: 436 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000538/0.1397, allocations: 0.5925 MB / 332.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1397, allocations: 0 / 332.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.532e-06/0.1397, allocations: 0 / 332.6 MB, free: 15.83 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.715e-06/0.1397, allocations: 0 / 332.6 MB, free: 15.83 MB / 286.1 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.00113/0.1409, allocations: 1.033 MB / 333.6 MB, free: 14.7 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.1409, allocations: 8.031 kB / 333.6 MB, free: 14.69 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001374/0.1411, allocations: 79.06 kB / 333.7 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004751/0.1415, allocations: 371.5 kB / 334.1 MB, free: 14.21 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.129e-05/0.1416, allocations: 12.19 kB / 334.1 MB, free: 14.2 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.868e-05/0.1416, allocations: 20 kB / 334.1 MB, free: 14.18 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005323/0.1422, allocations: 247.2 kB / 334.3 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.1422, allocations: 0 / 334.3 MB, free: 13.93 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.721e-05/0.1423, allocations: 15.97 kB / 334.3 MB, free: 13.92 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.466e-06/0.1423, allocations: 4 kB / 334.3 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.1426, allocations: 136.5 kB / 334.5 MB, free: 13.78 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001201/0.1438, allocations: 0.7354 MB / 335.2 MB, free: 13 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003513/0.1441, allocations: 206.5 kB / 335.4 MB, free: 12.79 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.1442, allocations: 4 kB / 335.4 MB, free: 12.78 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005791/0.1448, allocations: 381.9 kB / 335.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.295e-06/0.1448, allocations: 0 / 335.8 MB, free: 12.37 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.00155/0.1463, allocations: 1.245 MB / 337 MB, free: 11 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001476/0.1465, allocations: 281 kB / 337.3 MB, free: 10.66 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.1478, allocations: 0.9529 MB / 338.3 MB, free: 9.699 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/0.1479, allocations: 37.7 kB / 338.3 MB, free: 9.656 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.57e-05/0.148, allocations: 134 kB / 338.4 MB, free: 9.52 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/0.1481, allocations: 59.25 kB / 338.5 MB, free: 9.461 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.237e-05/0.1481, allocations: 12 kB / 338.5 MB, free: 9.449 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.1483, allocations: 334.8 kB / 338.8 MB, free: 9.113 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.1485, allocations: 132.1 kB / 339 MB, free: 8.984 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002907/0.1488, allocations: 151.9 kB / 339.1 MB, free: 8.824 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00035/0.1492, allocations: 349.6 kB / 339.5 MB, free: 8.434 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1492, allocations: 0 / 339.5 MB, free: 8.434 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000986/0.1502, allocations: 0.7487 MB / 340.2 MB, free: 7.629 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001489/0.1504, allocations: 245.6 kB / 340.4 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.1504, allocations: 0 / 340.4 MB, free: 7.34 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.956e-05/0.1504, allocations: 4 kB / 340.4 MB, free: 7.336 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.31e-05/0.1505, allocations: 7.938 kB / 340.5 MB, free: 7.328 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.1505, allocations: 3.953 kB / 340.5 MB, free: 7.324 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002772/0.1508, allocations: 51.92 kB / 340.5 MB, free: 7.273 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/0.1509, allocations: 100.2 kB / 340.6 MB, free: 7.176 MB / 286.1 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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,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,$PRE.bUF3S1.inertialDelaySensitive.x,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.auxiliary[1],wiredX.auxiliary[2],wiredX.y,$PRE.wiredX.auxiliary[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006972/0.1516, allocations: 0.6124 MB / 341.2 MB, free: 6.504 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000104/0.1517, allocations: 83.05 kB / 341.3 MB, free: 6.422 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.1519, allocations: 130.9 kB / 341.4 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.691e-06/0.1519, allocations: 0 / 341.4 MB, free: 6.289 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.152, allocations: 4 kB / 341.4 MB, free: 6.285 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.152, allocations: 3.953 kB / 341.4 MB, free: 6.281 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.154, allocations: 1.417 MB / 342.9 MB, free: 4.758 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.1541, allocations: 0 / 342.9 MB, free: 4.758 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.045e-05/0.1541, allocations: 4 kB / 342.9 MB, free: 4.754 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.999e-06/0.1541, allocations: 3.938 kB / 342.9 MB, free: 4.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.903e-05/0.1542, allocations: 31.98 kB / 342.9 MB, free: 4.719 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.567e-06/0.1542, allocations: 3.953 kB / 342.9 MB, free: 4.715 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.1542, allocations: 3.984 kB / 342.9 MB, free: 4.711 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.1556, allocations: 0.9609 MB / 343.9 MB, free: 3.684 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006945/0.1563, allocations: 415.7 kB / 344.3 MB, free: 3.258 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/0.1564, allocations: 20 kB / 344.3 MB, free: 3.238 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000267/0.1567, allocations: 23.98 kB / 344.3 MB, free: 3.215 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001749/0.1568, allocations: 67.81 kB / 344.4 MB, free: 3.148 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000126/0.157, allocations: 115.9 kB / 344.5 MB, free: 3.035 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0009248/0.1579, allocations: 0.6899 MB / 345.2 MB, free: 2.348 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1579, allocations: 0 / 345.2 MB, free: 2.348 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004314/0.1584, allocations: 92 kB / 345.3 MB, free: 2.258 MB / 286.1 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 (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.0002438/0.1586, allocations: 155.1 kB / 345.4 MB, free: 2.098 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001065/0.1597, allocations: 0.8896 MB / 346.3 MB, free: 1.109 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.1597, allocations: 0 / 346.3 MB, free: 1.109 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007184/0.1604, allocations: 0.7571 MB / 347.1 MB, free: 260 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009827/0.1614, allocations: 218.7 kB / 347.3 MB, free: 40 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002292/0.1637, allocations: 1.444 MB / 348.7 MB, free: 14.57 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006908/0.1644, allocations: 0.9556 MB / 349.7 MB, free: 13.59 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002761/0.1647, allocations: 97.34 kB / 349.8 MB, free: 13.49 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.04e-05/0.1648, allocations: 47.34 kB / 349.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of SimCode: time 1.092e-06/0.1648, allocations: 0 / 349.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of Templates: time 0.0126/0.1774, allocations: 8.213 MB / 358 MB, free: 5.211 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: 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