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.001625/0.001625, allocations: 96.81 kB / 17.58 MB, free: 5.418 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.002272/0.002272, allocations: 192 kB / 18.51 MB, free: 4.508 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.899/1.899, allocations: 205.1 MB / 224.4 MB, free: 12.31 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.001445/0.001445, allocations: 51.92 kB / 280.6 MB, free: 3.184 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1155/0.117, allocations: 46.63 MB / 327.3 MB, free: 4.484 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003837/0.1208, allocations: 1.808 MB / 329.1 MB, free: 2.656 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002565/0.1235, allocations: 0.984 MB / 330.1 MB, free: 1.664 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.1237, allocations: 7.938 kB / 330.1 MB, free: 1.656 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001992/0.124, allocations: 23.8 kB / 330.1 MB, free: 1.633 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001773/0.1242, allocations: 35.64 kB / 330.1 MB, free: 1.598 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005323/0.1247, allocations: 95.83 kB / 330.2 MB, free: 1.504 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005416/0.1253, allocations: 315.4 kB / 330.5 MB, free: 1.195 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002014/0.1255, allocations: 53.66 kB / 330.6 MB, free: 1.141 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00087/0.1263, allocations: 0.7174 MB / 331.3 MB, free: 432 kB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002839/0.1267, allocations: 151.3 kB / 331.4 MB, free: 280 kB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.1268, allocations: 20 kB / 331.5 MB, free: 260 kB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.448e-05/0.1269, allocations: 20 kB / 331.5 MB, free: 240 kB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001703/0.1271, allocations: 139.4 kB / 331.6 MB, free: 100 kB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002899/0.1274, allocations: 242.2 kB / 331.9 MB, free: 15.86 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007374/0.1281, allocations: 0.7437 MB / 332.6 MB, free: 15.11 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1281, allocations: 0 / 332.6 MB, free: 15.11 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.754e-06/0.1282, allocations: 4 kB / 332.6 MB, free: 15.11 MB / 286.1 MB Notification: Performance of Transformations before backend: time 2.365e-05/0.1282, allocations: 0 / 332.6 MB, free: 15.11 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.001743/0.1299, allocations: 1.165 MB / 333.8 MB, free: 13.84 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.13, allocations: 15.97 kB / 333.8 MB, free: 13.83 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001838/0.1302, allocations: 72.09 kB / 333.9 MB, free: 13.76 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005036/0.1307, allocations: 396.2 kB / 334.2 MB, free: 13.33 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.724e-05/0.1307, allocations: 12.56 kB / 334.3 MB, free: 13.32 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.78e-05/0.1308, allocations: 20.31 kB / 334.3 MB, free: 13.3 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005846/0.1314, allocations: 254.2 kB / 334.5 MB, free: 13.05 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1314, allocations: 4 kB / 334.5 MB, free: 13.04 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.377e-05/0.1315, allocations: 12 kB / 334.5 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1315, allocations: 0 / 334.5 MB, free: 13.03 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.1318, allocations: 140.2 kB / 334.7 MB, free: 12.89 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001499/0.1333, allocations: 0.7271 MB / 335.4 MB, free: 12.12 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003865/0.1337, allocations: 202.4 kB / 335.6 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003034/0.134, allocations: 176.8 kB / 335.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.1341, allocations: 0 / 335.8 MB, free: 11.73 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000556/0.1346, allocations: 393.8 kB / 336.2 MB, free: 11.31 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 2.244e-06/0.1346, allocations: 0 / 336.2 MB, free: 11.31 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001532/0.1362, allocations: 0.9278 MB / 337.1 MB, free: 10.33 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001665/0.1364, allocations: 281 kB / 337.4 MB, free: 9.992 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.1378, allocations: 0.9491 MB / 338.3 MB, free: 9.035 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.485e-05/0.1378, allocations: 37.7 kB / 338.3 MB, free: 8.992 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001029/0.1379, allocations: 126 kB / 338.5 MB, free: 8.863 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.871e-05/0.138, allocations: 63.25 kB / 338.5 MB, free: 8.801 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002207/0.1383, allocations: 157.1 kB / 338.7 MB, free: 8.641 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001848/0.1385, allocations: 342.8 kB / 339 MB, free: 8.297 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002505/0.1387, allocations: 120.2 kB / 339.1 MB, free: 8.18 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002793/0.139, allocations: 163.8 kB / 339.3 MB, free: 8.008 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007445/0.1398, allocations: 0.7067 MB / 340 MB, free: 7.188 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.9e-06/0.1398, allocations: 3.938 kB / 340 MB, free: 7.184 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001102/0.1409, allocations: 0.7643 MB / 340.8 MB, free: 6.363 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001525/0.1411, allocations: 245.6 kB / 341 MB, free: 6.074 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/0.1411, allocations: 0 / 341 MB, free: 6.074 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.1411, allocations: 4 kB / 341 MB, free: 6.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.744e-05/0.1411, allocations: 7.938 kB / 341 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1412, allocations: 0 / 341 MB, free: 6.062 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002661/0.1414, allocations: 28.02 kB / 341.1 MB, free: 6.035 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.1416, allocations: 112.1 kB / 341.2 MB, free: 5.926 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,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.0006983/0.1423, allocations: 0.6162 MB / 341.8 MB, free: 5.25 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001001/0.1424, allocations: 75.16 kB / 341.9 MB, free: 5.176 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002177/0.1426, allocations: 134.9 kB / 342 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.679e-06/0.1426, allocations: 0 / 342 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.1426, allocations: 0 / 342 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/0.1426, allocations: 0 / 342 MB, free: 5.039 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001806/0.1445, allocations: 1.429 MB / 343.4 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.1445, allocations: 0 / 343.4 MB, free: 3.504 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.1445, allocations: 11.98 kB / 343.4 MB, free: 3.492 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.358e-06/0.1445, allocations: 0 / 343.4 MB, free: 3.492 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.647e-05/0.1446, allocations: 27.98 kB / 343.5 MB, free: 3.465 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.1446, allocations: 0 / 343.5 MB, free: 3.465 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1446, allocations: 0 / 343.5 MB, free: 3.465 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001213/0.1458, allocations: 0.961 MB / 344.4 MB, free: 2.438 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005917/0.1464, allocations: 419.6 kB / 344.8 MB, free: 2.008 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001052/0.1465, allocations: 27.98 kB / 344.9 MB, free: 1.98 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002195/0.1467, allocations: 23.97 kB / 344.9 MB, free: 1.957 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/0.1469, allocations: 55.94 kB / 344.9 MB, free: 1.902 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001262/0.1471, allocations: 115.8 kB / 345 MB, free: 1.789 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.0009312/0.148, allocations: 0.6859 MB / 345.7 MB, free: 1.105 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.148, allocations: 0 / 345.7 MB, free: 1.105 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004249/0.1484, allocations: 95.94 kB / 345.8 MB, free: 1.012 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 (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.0002006/0.1486, allocations: 147.2 kB / 346 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001119/0.1498, allocations: 0.8935 MB / 346.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.1498, allocations: 0 / 346.9 MB, free: 15.87 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006968/0.1505, allocations: 0.7491 MB / 347.6 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/0.1516, allocations: 287 kB / 347.9 MB, free: 14.75 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002303/0.1539, allocations: 1.282 MB / 349.2 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006265/0.1546, allocations: 0.944 MB / 350.1 MB, free: 12.46 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002594/0.1548, allocations: 93.34 kB / 350.2 MB, free: 12.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.126e-05/0.1549, allocations: 39.38 kB / 350.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of SimCode: time 1.093e-06/0.155, allocations: 4 kB / 350.2 MB, free: 12.33 MB / 302.1 MB Notification: Performance of Templates: time 0.0174/0.1724, allocations: 9.506 MB / 359.8 MB, free: 2.797 MB / 302.1 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches