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.001974/0.001974, allocations: 107.4 kB / 17.15 MB, free: 6.328 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.002159/0.002159, allocations: 198 kB / 18.07 MB, free: 5.434 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.776/1.776, allocations: 205.1 MB / 223.9 MB, free: 12.48 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.001318/0.001318, allocations: 52.39 kB / 280 MB, free: 3.605 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1784, allocations: 46.63 MB / 326.6 MB, free: 4.91 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003773/0.1823, allocations: 1.855 MB / 328.4 MB, free: 3.039 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002436/0.1847, allocations: 1.034 MB / 329.5 MB, free: 1.996 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001046/0.1848, allocations: 7.938 kB / 329.5 MB, free: 1.988 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000235/0.1851, allocations: 11.91 kB / 329.5 MB, free: 1.977 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 9.542e-05/0.1852, allocations: 35.78 kB / 329.5 MB, free: 1.941 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.1856, allocations: 91.84 kB / 329.6 MB, free: 1.852 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002808/0.1859, allocations: 243.4 kB / 329.9 MB, free: 1.613 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.186, allocations: 49.66 kB / 329.9 MB, free: 1.562 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007734/0.1868, allocations: 0.7213 MB / 330.6 MB, free: 0.8398 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001936/0.187, allocations: 139.4 kB / 330.8 MB, free: 0.7031 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.672e-05/0.1871, allocations: 15.94 kB / 330.8 MB, free: 0.6875 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.225e-05/0.1872, allocations: 8 kB / 330.8 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001527/0.1873, allocations: 143.4 kB / 330.9 MB, free: 0.5391 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002422/0.1876, allocations: 230.2 kB / 331.2 MB, free: 320 kB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006606/0.1883, allocations: 0.728 MB / 331.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.1883, allocations: 4 kB / 331.9 MB, free: 15.58 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.1883, allocations: 4 kB / 331.9 MB, free: 15.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.435e-06/0.1883, allocations: 0 / 331.9 MB, free: 15.57 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.001272/0.1896, allocations: 1.161 MB / 333.1 MB, free: 14.31 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.708e-05/0.1896, allocations: 8.031 kB / 333.1 MB, free: 14.3 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00012/0.1898, allocations: 76.09 kB / 333.1 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004588/0.1902, allocations: 400.1 kB / 333.5 MB, free: 13.8 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.141e-05/0.1903, allocations: 12.56 kB / 333.5 MB, free: 13.79 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.094e-05/0.1903, allocations: 20.38 kB / 333.6 MB, free: 13.77 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000576/0.1909, allocations: 246.2 kB / 333.8 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.357e-05/0.191, allocations: 4 kB / 333.8 MB, free: 13.52 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.687e-05/0.191, allocations: 12 kB / 333.8 MB, free: 13.51 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.191, allocations: 4 kB / 333.8 MB, free: 13.5 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003078/0.1913, allocations: 136.2 kB / 334 MB, free: 13.37 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001244/0.1926, allocations: 0.7349 MB / 334.7 MB, free: 12.59 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004408/0.193, allocations: 206.4 kB / 334.9 MB, free: 12.38 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003487/0.1934, allocations: 176.8 kB / 335.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.1934, allocations: 0 / 335.1 MB, free: 12.2 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007019/0.1941, allocations: 397.8 kB / 335.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of pre-optimization done (n=29): time 1.483e-06/0.1942, allocations: 0 / 335.4 MB, free: 11.77 MB / 286.1 MB Notification: Performance of matching and sorting (n=29): time 0.001639/0.1958, allocations: 0.9279 MB / 336.4 MB, free: 10.79 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001793/0.196, allocations: 281 kB / 336.7 MB, free: 10.45 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001318/0.1973, allocations: 0.9491 MB / 337.6 MB, free: 9.496 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 5.143e-05/0.1974, allocations: 33.7 kB / 337.6 MB, free: 9.457 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.1975, allocations: 134 kB / 337.8 MB, free: 9.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.703e-05/0.1976, allocations: 59.31 kB / 337.8 MB, free: 9.262 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.1978, allocations: 165.1 kB / 338 MB, free: 9.094 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001926/0.198, allocations: 334.8 kB / 338.3 MB, free: 8.758 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002615/0.1983, allocations: 124.2 kB / 338.4 MB, free: 8.637 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002836/0.1986, allocations: 167.7 kB / 338.6 MB, free: 8.461 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008001/0.1994, allocations: 0.6982 MB / 339.3 MB, free: 7.648 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.179e-06/0.1994, allocations: 3.938 kB / 339.3 MB, free: 7.645 MB / 286.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001211/0.2007, allocations: 0.761 MB / 340.1 MB, free: 6.828 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001677/0.2008, allocations: 241.6 kB / 340.3 MB, free: 6.543 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.2009, allocations: 0 / 340.3 MB, free: 6.543 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.36e-05/0.2009, allocations: 4 kB / 340.3 MB, free: 6.539 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.098e-05/0.2009, allocations: 8 kB / 340.3 MB, free: 6.531 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.608e-06/0.2009, allocations: 7.938 kB / 340.3 MB, free: 6.523 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002992/0.2013, allocations: 28.02 kB / 340.3 MB, free: 6.496 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.2014, allocations: 112.1 kB / 340.4 MB, free: 6.387 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.0007443/0.2022, allocations: 0.6123 MB / 341.1 MB, free: 5.715 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001132/0.2023, allocations: 79.06 kB / 341.1 MB, free: 5.637 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002478/0.2025, allocations: 130.9 kB / 341.3 MB, free: 5.504 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.842e-06/0.2026, allocations: 0 / 341.3 MB, free: 5.504 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.2026, allocations: 4 kB / 341.3 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.2026, allocations: 0 / 341.3 MB, free: 5.5 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002255/0.2048, allocations: 1.433 MB / 342.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.2049, allocations: 0 / 342.7 MB, free: 3.961 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.166e-05/0.2049, allocations: 12 kB / 342.7 MB, free: 3.949 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.667e-06/0.2049, allocations: 0 / 342.7 MB, free: 3.949 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-05/0.205, allocations: 23.98 kB / 342.7 MB, free: 3.926 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.205, allocations: 4 kB / 342.7 MB, free: 3.922 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.205, allocations: 0 / 342.7 MB, free: 3.922 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/0.2064, allocations: 0.9648 MB / 343.7 MB, free: 2.891 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007238/0.2071, allocations: 431.6 kB / 344.1 MB, free: 2.449 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001123/0.2072, allocations: 20 kB / 344.1 MB, free: 2.43 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002452/0.2075, allocations: 23.98 kB / 344.2 MB, free: 2.406 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.2077, allocations: 51.94 kB / 344.2 MB, free: 2.355 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/0.2078, allocations: 115.8 kB / 344.3 MB, free: 2.242 MB / 286.1 MB Notification: Performance of sorting global known variables: time 0.000983/0.2088, allocations: 0.686 MB / 345 MB, free: 1.559 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2088, allocations: 0 / 345 MB, free: 1.559 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004186/0.2093, allocations: 99.94 kB / 345.1 MB, free: 1.461 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.0003151/0.2096, allocations: 139.2 kB / 345.3 MB, free: 1.316 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.001343/0.2109, allocations: 0.8818 MB / 346.1 MB, free: 344 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 4.268e-06/0.211, allocations: 4 kB / 346.1 MB, free: 340 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007219/0.2117, allocations: 0.7491 MB / 346.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001019/0.2127, allocations: 246.9 kB / 347.1 MB, free: 15.24 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002144/0.2149, allocations: 1.502 MB / 348.6 MB, free: 13.71 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009017/0.2158, allocations: 0.9479 MB / 349.6 MB, free: 12.74 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0002306/0.216, allocations: 93.33 kB / 349.7 MB, free: 12.65 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.313e-05/0.2161, allocations: 43.38 kB / 349.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of SimCode: time 7.21e-07/0.2161, allocations: 0 / 349.7 MB, free: 12.61 MB / 302.1 MB Notification: Performance of Templates: time 0.02066/0.2368, allocations: 8.908 MB / 358.6 MB, free: 3.672 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","../files/Modelica_3.2.3_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches