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.0009253/0.0009256, allocations: 98.53 kB / 18.01 MB, free: 5.73 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001221/0.001221, allocations: 206.5 kB / 18.94 MB, free: 4.844 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.349/1.349, allocations: 227.7 MB / 247.5 MB, free: 11.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000254/0.0002539, allocations: 4 kB / 308.4 MB, free: 0.793 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1045, allocations: 51.53 MB / 359.9 MB, free: 13.27 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002647/0.1072, allocations: 1.518 MB / 361.4 MB, free: 11.74 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.002246/0.1095, allocations: 1.021 MB / 362.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.1097, allocations: 0 / 362.4 MB, free: 10.71 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001648/0.1098, allocations: 19.84 kB / 362.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000129/0.11, allocations: 31.78 kB / 362.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004052/0.1104, allocations: 91.84 kB / 362.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003411/0.1107, allocations: 235.4 kB / 362.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001684/0.1109, allocations: 61.59 kB / 362.9 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008243/0.1118, allocations: 0.7057 MB / 363.6 MB, free: 9.57 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002395/0.112, allocations: 135.4 kB / 363.7 MB, free: 9.438 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 6.341e-05/0.1121, allocations: 4 kB / 363.7 MB, free: 9.434 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.566e-05/0.1121, allocations: 8 kB / 363.7 MB, free: 9.426 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001382/0.1123, allocations: 139.4 kB / 363.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002304/0.1125, allocations: 255.9 kB / 364.1 MB, free: 9.031 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005143/0.113, allocations: 0.6004 MB / 364.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.113, allocations: 0 / 364.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.1131, allocations: 0 / 364.7 MB, free: 8.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.858e-05/0.1131, allocations: 0 / 364.7 MB, free: 8.43 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.001278/0.1144, allocations: 1.033 MB / 365.7 MB, free: 7.297 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.1144, allocations: 12.03 kB / 365.8 MB, free: 7.285 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001759/0.1146, allocations: 72.09 kB / 365.8 MB, free: 7.215 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005706/0.1152, allocations: 396.2 kB / 366.2 MB, free: 6.789 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.709e-05/0.1152, allocations: 16.5 kB / 366.2 MB, free: 6.773 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-05/0.1153, allocations: 28.31 kB / 366.3 MB, free: 6.746 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005546/0.1159, allocations: 251.1 kB / 366.5 MB, free: 6.492 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.1159, allocations: 0 / 366.5 MB, free: 6.492 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.733e-05/0.1159, allocations: 12 kB / 366.5 MB, free: 6.48 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.116, allocations: 3.938 kB / 366.5 MB, free: 6.477 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003056/0.1163, allocations: 136.2 kB / 366.7 MB, free: 6.344 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.1176, allocations: 0.731 MB / 367.4 MB, free: 5.562 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004026/0.118, allocations: 202.4 kB / 367.6 MB, free: 5.355 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003008/0.1183, allocations: 176.8 kB / 367.8 MB, free: 5.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.1183, allocations: 4 kB / 367.8 MB, free: 5.176 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005658/0.1189, allocations: 393.8 kB / 368.1 MB, free: 4.754 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 2.425e-06/0.1189, allocations: 0 / 368.1 MB, free: 4.754 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001487/0.1204, allocations: 0.9241 MB / 369.1 MB, free: 3.773 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001516/0.1206, allocations: 285 kB / 369.3 MB, free: 3.434 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001414/0.122, allocations: 0.9491 MB / 370.3 MB, free: 2.473 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.718e-05/0.1221, allocations: 37.69 kB / 370.3 MB, free: 2.43 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001024/0.1222, allocations: 130 kB / 370.5 MB, free: 2.297 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.979e-05/0.1223, allocations: 71.19 kB / 370.5 MB, free: 2.227 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.969e-05/0.1224, allocations: 41.69 kB / 370.6 MB, free: 2.18 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001313/0.1225, allocations: 334.8 kB / 370.9 MB, free: 1.844 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002613/0.1228, allocations: 124.2 kB / 371 MB, free: 1.723 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002893/0.1231, allocations: 171.8 kB / 371.2 MB, free: 1.543 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007384/0.1238, allocations: 0.7027 MB / 371.9 MB, free: 0.7266 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.1238, allocations: 3.938 kB / 371.9 MB, free: 0.7227 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.1864/0.3102, allocations: 0.7454 MB / 372.6 MB, free: 19.37 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001673/0.3104, allocations: 245.2 kB / 372.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3105, allocations: 1.781 kB / 372.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.13e-05/0.3105, allocations: 1.75 kB / 372.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.521e-05/0.3106, allocations: 6.922 kB / 372.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.3106, allocations: 5.219 kB / 372.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004125/0.311, allocations: 35.77 kB / 372.9 MB, free: 19.12 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002017/0.3112, allocations: 111.7 kB / 373 MB, free: 19.11 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.0008161/0.312, allocations: 0.6134 MB / 373.6 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.3122, allocations: 80.44 kB / 373.7 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002551/0.3124, allocations: 127.6 kB / 373.9 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.632e-06/0.3125, allocations: 4.375 kB / 373.9 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.3125, allocations: 1.062 kB / 373.9 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.3125, allocations: 0.5156 kB / 373.9 MB, free: 18.63 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002081/0.3146, allocations: 1.423 MB / 375.3 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.494e-06/0.3146, allocations: 1.062 kB / 375.3 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.816e-05/0.3146, allocations: 8.469 kB / 375.3 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.29e-06/0.3146, allocations: 2.766 kB / 375.3 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-05/0.3147, allocations: 28.92 kB / 375.3 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.047e-06/0.3147, allocations: 2.125 kB / 375.3 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.3147, allocations: 0 / 375.3 MB, free: 18.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001428/0.3161, allocations: 0.9686 MB / 376.3 MB, free: 17.62 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006628/0.3168, allocations: 417.3 kB / 376.7 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001251/0.3169, allocations: 21.73 kB / 376.7 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.3172, allocations: 32.62 kB / 376.8 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.3174, allocations: 58.64 kB / 376.8 MB, free: 17.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001158/0.3175, allocations: 111.3 kB / 376.9 MB, free: 17.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001017/0.3185, allocations: 0.6901 MB / 377.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.3186, allocations: 1.281 kB / 377.6 MB, free: 17.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004791/0.319, allocations: 97.34 kB / 377.7 MB, free: 17.23 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.0001945/0.3192, allocations: 142.8 kB / 377.8 MB, free: 17.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009679/0.3202, allocations: 0.8801 MB / 378.7 MB, free: 16.55 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.3202, allocations: 4.016 kB / 378.7 MB, free: 16.55 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005605/0.3208, allocations: 0.7542 MB / 379.5 MB, free: 15.89 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001189/0.322, allocations: 254.3 kB / 379.7 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.3241, allocations: 1.567 MB / 381.3 MB, free: 14.9 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005269/0.3246, allocations: 0.9378 MB / 382.2 MB, free: 14.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.3247, allocations: 57.45 kB / 382.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of SimCode: time 6.71e-07/0.3248, allocations: 4 kB / 382.3 MB, free: 14.1 MB / 302.1 MB Notification: Performance of Templates: time 0.01011/0.3349, allocations: 5.343 MB / 387.6 MB, free: 13 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches