Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.0.0_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.001741/0.001741, allocations: 114.5 kB / 17.17 MB, free: 6.316 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.001944/0.001944, allocations: 194.9 kB / 18.08 MB, free: 5.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.235/2.235, allocations: 222.9 MB / 241.8 MB, free: 13.79 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002194/0.002195, allocations: 44.38 kB / 300.6 MB, free: 6.102 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.1733, allocations: 49.45 MB / 350.1 MB, free: 4.641 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.00593/0.1793, allocations: 1.859 MB / 351.9 MB, free: 2.766 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004156/0.1835, allocations: 0.9941 MB / 352.9 MB, free: 1.766 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002281/0.1838, allocations: 3.938 kB / 352.9 MB, free: 1.762 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002777/0.1842, allocations: 19.84 kB / 352.9 MB, free: 1.742 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002418/0.1844, allocations: 27.78 kB / 353 MB, free: 1.715 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000659/0.1851, allocations: 87.86 kB / 353 MB, free: 1.629 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005954/0.1857, allocations: 243.4 kB / 353.3 MB, free: 1.391 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002562/0.186, allocations: 53.66 kB / 353.3 MB, free: 1.336 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001438/0.1875, allocations: 0.7174 MB / 354.1 MB, free: 0.6172 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.1879, allocations: 147.4 kB / 354.2 MB, free: 484 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001394/0.1881, allocations: 8 kB / 354.2 MB, free: 476 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.1882, allocations: 12 kB / 354.2 MB, free: 464 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002777/0.1885, allocations: 135.4 kB / 354.3 MB, free: 328 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004702/0.189, allocations: 230.2 kB / 354.6 MB, free: 96 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009646/0.19, allocations: 0.6121 MB / 355.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 9.287e-06/0.19, allocations: 0 / 355.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.19, allocations: 0 / 355.2 MB, free: 15.48 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.405e-05/0.19, allocations: 0 / 355.2 MB, free: 15.48 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.002666/0.1927, allocations: 1.165 MB / 356.4 MB, free: 14.21 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.1928, allocations: 12.03 kB / 356.4 MB, free: 14.2 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002628/0.1931, allocations: 72.09 kB / 356.4 MB, free: 14.13 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007428/0.1938, allocations: 400.1 kB / 356.8 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.709e-05/0.1939, allocations: 12.56 kB / 356.8 MB, free: 13.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.194, allocations: 24.36 kB / 356.9 MB, free: 13.67 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009744/0.195, allocations: 251 kB / 357.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.1951, allocations: 8 kB / 357.1 MB, free: 13.41 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.517e-05/0.1952, allocations: 11.98 kB / 357.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.1952, allocations: 4 kB / 357.1 MB, free: 13.39 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005796/0.1958, allocations: 148.1 kB / 357.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002102/0.1979, allocations: 0.7231 MB / 358 MB, free: 12.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006812/0.1986, allocations: 202.4 kB / 358.2 MB, free: 12.27 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005812/0.1992, allocations: 176.8 kB / 358.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.569e-05/0.1993, allocations: 0 / 358.4 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001054/0.2003, allocations: 393.9 kB / 358.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 3.016e-06/0.2003, allocations: 0 / 358.8 MB, free: 11.67 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.00278/0.2031, allocations: 0.9167 MB / 359.7 MB, free: 10.7 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002553/0.2034, allocations: 289 kB / 359.9 MB, free: 10.35 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002658/0.2061, allocations: 0.9491 MB / 360.9 MB, free: 9.395 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 9.787e-05/0.2062, allocations: 33.7 kB / 360.9 MB, free: 9.355 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.2064, allocations: 138 kB / 361.1 MB, free: 9.215 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001548/0.2066, allocations: 59.25 kB / 361.1 MB, free: 9.156 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004505/0.207, allocations: 165 kB / 361.3 MB, free: 8.988 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000211/0.2073, allocations: 330.8 kB / 361.6 MB, free: 8.656 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005174/0.2078, allocations: 136.1 kB / 361.7 MB, free: 8.523 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005329/0.2084, allocations: 163.9 kB / 361.9 MB, free: 8.352 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.2097, allocations: 0.6989 MB / 362.6 MB, free: 7.539 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.266e-06/0.2097, allocations: 3.938 kB / 362.6 MB, free: 7.535 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.002019/0.2117, allocations: 0.7632 MB / 363.4 MB, free: 6.719 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000251/0.212, allocations: 241.6 kB / 363.6 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/0.212, allocations: 0 / 363.6 MB, free: 6.434 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.737e-05/0.2121, allocations: 4 kB / 363.6 MB, free: 6.43 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.53e-05/0.2121, allocations: 4 kB / 363.6 MB, free: 6.426 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.755e-05/0.2122, allocations: 7.938 kB / 363.6 MB, free: 6.418 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005549/0.2127, allocations: 27.92 kB / 363.6 MB, free: 6.391 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/0.213, allocations: 112.1 kB / 363.8 MB, free: 6.281 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.001232/0.2142, allocations: 0.6163 MB / 364.4 MB, free: 5.605 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002304/0.2145, allocations: 79.06 kB / 364.4 MB, free: 5.527 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004534/0.215, allocations: 134.8 kB / 364.6 MB, free: 5.391 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.215, allocations: 4 kB / 364.6 MB, free: 5.387 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.215, allocations: 4 kB / 364.6 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.529e-06/0.215, allocations: 0 / 364.6 MB, free: 5.383 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003667/0.2187, allocations: 1.421 MB / 366 MB, free: 3.855 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.319e-06/0.2187, allocations: 4 kB / 366 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.847e-05/0.2188, allocations: 4 kB / 366 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.55e-06/0.2188, allocations: 0 / 366 MB, free: 3.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/0.2189, allocations: 31.98 kB / 366 MB, free: 3.816 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.2189, allocations: 3.938 kB / 366.1 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.2189, allocations: 0 / 366.1 MB, free: 3.812 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002316/0.2213, allocations: 0.9647 MB / 367 MB, free: 2.781 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001188/0.2225, allocations: 419.7 kB / 367.4 MB, free: 2.352 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000197/0.2227, allocations: 16 kB / 367.4 MB, free: 2.336 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005203/0.2232, allocations: 31.98 kB / 367.5 MB, free: 2.305 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003004/0.2235, allocations: 51.94 kB / 367.5 MB, free: 2.254 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002144/0.2238, allocations: 107.9 kB / 367.6 MB, free: 2.148 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.001972/0.2258, allocations: 0.6899 MB / 368.3 MB, free: 1.461 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.41e-07/0.2258, allocations: 0 / 368.3 MB, free: 1.461 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007986/0.2266, allocations: 99.84 kB / 368.4 MB, free: 1.363 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.0003448/0.227, allocations: 147.2 kB / 368.6 MB, free: 1.207 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001887/0.2289, allocations: 0.8818 MB / 369.4 MB, free: 232 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.2289, allocations: 3.938 kB / 369.4 MB, free: 228 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.2608/0.4896, allocations: 0.746 MB / 370.2 MB, free: 25.82 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002421/0.4921, allocations: 247.8 kB / 370.4 MB, free: 25.82 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004373/0.4966, allocations: 1.569 MB / 372 MB, free: 25.04 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00102/0.4976, allocations: 0.9379 MB / 372.9 MB, free: 24.29 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.4979, allocations: 52.95 kB / 373 MB, free: 24.26 MB / 302.1 MB Notification: Performance of SimCode: time 1.192e-06/0.4979, allocations: 0 / 373 MB, free: 24.26 MB / 302.1 MB Notification: Performance of Templates: time 0.01764/0.5155, allocations: 5.369 MB / 378.4 MB, free: 23.7 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches