Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00121/0.001209, allocations: 103.2 kB / 17.2 MB, free: 6.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001174/0.001174, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246.3 MB, free: 10.86 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001567/0.001567, allocations: 59.25 kB / 306.3 MB, free: 1.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1128, allocations: 50.54 MB / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002872/0.1158, allocations: 1.872 MB / 358.7 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001956/0.1177, allocations: 1.029 MB / 359.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.016e-05/0.1178, allocations: 4 kB / 359.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.118, allocations: 15.84 kB / 359.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 8.207e-05/0.1181, allocations: 35.77 kB / 359.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003458/0.1184, allocations: 87.92 kB / 359.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002629/0.1187, allocations: 247.4 kB / 360.1 MB, free: 11.22 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.1189, allocations: 49.66 kB / 360.1 MB, free: 11.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009189/0.1198, allocations: 0.7135 MB / 360.8 MB, free: 10.45 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00024/0.12, allocations: 147.3 kB / 361 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 9.073e-05/0.1201, allocations: 8 kB / 361 MB, free: 10.3 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.266e-05/0.1202, allocations: 12 kB / 361 MB, free: 10.29 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002085/0.1205, allocations: 135.5 kB / 361.1 MB, free: 10.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003121/0.1208, allocations: 234.2 kB / 361.4 MB, free: 9.926 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009234/0.1217, allocations: 0.7319 MB / 362.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1218, allocations: 0 / 362.1 MB, free: 9.191 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1218, allocations: 4 kB / 362.1 MB, free: 9.188 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.1218, allocations: 4 kB / 362.1 MB, free: 9.184 MB / 302.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.001787/0.1236, allocations: 1.165 MB / 363.3 MB, free: 7.918 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.1236, allocations: 8.031 kB / 363.3 MB, free: 7.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.1238, allocations: 76.09 kB / 363.3 MB, free: 7.836 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004243/0.1242, allocations: 396.1 kB / 363.7 MB, free: 7.41 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.231e-05/0.1243, allocations: 16.56 kB / 363.8 MB, free: 7.395 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.335e-05/0.1243, allocations: 20.31 kB / 363.8 MB, free: 7.375 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005445/0.1249, allocations: 251.1 kB / 364 MB, free: 7.121 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.008e-05/0.1249, allocations: 4 kB / 364 MB, free: 7.117 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.298e-05/0.125, allocations: 12 kB / 364 MB, free: 7.105 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.696e-06/0.125, allocations: 7.984 kB / 364 MB, free: 7.098 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002929/0.1253, allocations: 136.1 kB / 364.2 MB, free: 6.965 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.1263, allocations: 0.7271 MB / 364.9 MB, free: 6.188 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003723/0.1267, allocations: 202.4 kB / 365.1 MB, free: 5.98 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002984/0.127, allocations: 176.8 kB / 365.3 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.1271, allocations: 0 / 365.3 MB, free: 5.805 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005668/0.1276, allocations: 397.5 kB / 365.7 MB, free: 5.383 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.1277, allocations: 0 / 365.7 MB, free: 5.383 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001515/0.1292, allocations: 0.924 MB / 366.6 MB, free: 4.402 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001684/0.1293, allocations: 281 kB / 366.9 MB, free: 4.066 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.1306, allocations: 0.9491 MB / 367.8 MB, free: 3.105 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 6.168e-05/0.1307, allocations: 41.64 kB / 367.8 MB, free: 3.059 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001081/0.1308, allocations: 133.9 kB / 368 MB, free: 2.922 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.989e-05/0.1309, allocations: 63.27 kB / 368 MB, free: 2.859 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002153/0.1311, allocations: 165 kB / 368.2 MB, free: 2.691 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001653/0.1313, allocations: 334.8 kB / 368.5 MB, free: 2.355 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002517/0.1316, allocations: 128.1 kB / 368.7 MB, free: 2.23 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000276/0.1318, allocations: 163.9 kB / 368.8 MB, free: 2.059 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006737/0.1325, allocations: 0.7066 MB / 369.5 MB, free: 1.238 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1325, allocations: 3.938 kB / 369.5 MB, free: 1.234 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001019/0.1336, allocations: 0.7527 MB / 370.3 MB, free: 436 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001399/0.1337, allocations: 245.6 kB / 370.5 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1337, allocations: 0 / 370.5 MB, free: 140 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1337, allocations: 4 kB / 370.5 MB, free: 136 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.527e-05/0.1338, allocations: 4 kB / 370.5 MB, free: 132 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.397e-06/0.1338, allocations: 3.938 kB / 370.5 MB, free: 128 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002651/0.1341, allocations: 36.02 kB / 370.6 MB, free: 92 kB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.1715/0.3056, allocations: 109.3 kB / 370.7 MB, free: 20.5 MB / 302.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.0006746/0.3063, allocations: 0.6119 MB / 371.3 MB, free: 20.09 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.3064, allocations: 77.89 kB / 371.4 MB, free: 20.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000176/0.3066, allocations: 129.9 kB / 371.5 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.3066, allocations: 2.078 kB / 371.5 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.071e-06/0.3066, allocations: 1.062 kB / 371.5 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/0.3067, allocations: 3.984 kB / 371.5 MB, free: 20.02 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.3083, allocations: 1.418 MB / 372.9 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/0.3083, allocations: 1.25 kB / 372.9 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.3083, allocations: 5.359 kB / 372.9 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.3083, allocations: 3.562 kB / 372.9 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.297e-05/0.3084, allocations: 33.45 kB / 373 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.3084, allocations: 1.281 kB / 373 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.3084, allocations: 0.6094 kB / 373 MB, free: 19.4 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001078/0.3095, allocations: 0.9601 MB / 373.9 MB, free: 19.02 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005215/0.31, allocations: 425.9 kB / 374.3 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001099/0.3101, allocations: 19.36 kB / 374.3 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002387/0.3104, allocations: 25.55 kB / 374.4 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001482/0.3105, allocations: 56.56 kB / 374.4 MB, free: 18.79 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001057/0.3107, allocations: 110.4 kB / 374.5 MB, free: 18.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007669/0.3114, allocations: 0.6923 MB / 375.2 MB, free: 18.44 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.3114, allocations: 0 / 375.2 MB, free: 18.44 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003842/0.3118, allocations: 96.72 kB / 375.3 MB, free: 18.43 MB / 302.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.0001582/0.312, allocations: 146.4 kB / 375.5 MB, free: 18.33 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008714/0.3129, allocations: 0.8876 MB / 376.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.546e-06/0.3129, allocations: 0 / 376.4 MB, free: 17.64 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000507/0.3134, allocations: 0.755 MB / 377.1 MB, free: 16.98 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.3144, allocations: 249.9 kB / 377.4 MB, free: 16.94 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001765/0.3162, allocations: 1.489 MB / 378.8 MB, free: 16.06 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000426/0.3166, allocations: 0.9468 MB / 379.8 MB, free: 15.29 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001692/0.3168, allocations: 90.14 kB / 379.9 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.634e-05/0.3169, allocations: 46.39 kB / 379.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.3169, allocations: 0 / 379.9 MB, free: 15.21 MB / 302.1 MB Notification: Performance of Templates: time 0.01238/0.3293, allocations: 8.9 MB / 388.8 MB, free: 12.52 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches