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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.002355/0.002355, allocations: 99.55 kB / 20.96 MB, free: 3.453 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002791/0.002791, allocations: 156.8 kB / 24.27 MB, free: 156 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.59/1.59, allocations: 177 MB / 204.4 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 272.2 MB, free: 1.805 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.094e-05/3.271e-05, allocations: 8.984 kB / 272.2 MB, free: 1.797 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003298/0.003331, allocations: 1.759 MB / 274 MB, free: 24 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002412/0.005743, allocations: 0.9549 MB / 274.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.98e-05/0.005823, allocations: 0 / 274.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001718/0.005995, allocations: 27.72 kB / 274.9 MB, free: 15.04 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001259/0.006121, allocations: 43.64 kB / 275 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004038/0.006524, allocations: 103.7 kB / 275.1 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004362/0.00696, allocations: 295.3 kB / 275.4 MB, free: 14.6 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.007109, allocations: 29.78 kB / 275.4 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001085/0.008194, allocations: 0.7916 MB / 276.2 MB, free: 13.78 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002404/0.008434, allocations: 131.6 kB / 276.3 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001014/0.008535, allocations: 20 kB / 276.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.341e-05/0.008629, allocations: 20 kB / 276.4 MB, free: 13.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.008808, allocations: 139.4 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001994/0.009008, allocations: 123.4 kB / 276.6 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008855/0.009893, allocations: 0.7475 MB / 277.4 MB, free: 12.61 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.009898, allocations: 3.984 kB / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.009899, allocations: 4 kB / 277.4 MB, free: 12.6 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.424e-06/0.009907, allocations: 0 / 277.4 MB, free: 12.6 MB / 266.7 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.00173/0.01164, allocations: 1.318 MB / 278.7 MB, free: 11.19 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.01168, allocations: 15.98 kB / 278.7 MB, free: 11.18 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001821/0.01186, allocations: 100.4 kB / 278.8 MB, free: 11.08 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005657/0.01243, allocations: 349.1 kB / 279.1 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.553e-05/0.01246, allocations: 12.56 kB / 279.2 MB, free: 10.7 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.045e-05/0.01251, allocations: 16.38 kB / 279.2 MB, free: 10.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007747/0.01329, allocations: 493.2 kB / 279.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.0133, allocations: 0 / 279.7 MB, free: 10.14 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.147e-05/0.01334, allocations: 15.94 kB / 279.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.01334, allocations: 0 / 279.7 MB, free: 10.12 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004946/0.01384, allocations: 377.8 kB / 280 MB, free: 9.707 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001925/0.01576, allocations: 0.9017 MB / 280.9 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005802/0.01634, allocations: 416.6 kB / 281.3 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004714/0.01681, allocations: 389.2 kB / 281.7 MB, free: 7.867 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.202e-05/0.01684, allocations: 7.938 kB / 281.7 MB, free: 7.859 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008068/0.01764, allocations: 0.634 MB / 282.4 MB, free: 7.137 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.114e-06/0.01765, allocations: 4 kB / 282.4 MB, free: 7.133 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002171/0.01982, allocations: 1.444 MB / 283.8 MB, free: 5.535 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002387/0.02005, allocations: 292.9 kB / 284.1 MB, free: 5.188 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.02217, allocations: 1.264 MB / 285.4 MB, free: 3.906 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.753e-05/0.02224, allocations: 41.69 kB / 285.4 MB, free: 3.859 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001654/0.0224, allocations: 176.8 kB / 285.6 MB, free: 3.68 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001097/0.02251, allocations: 79.47 kB / 285.7 MB, free: 3.602 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002651/0.02278, allocations: 179 kB / 285.8 MB, free: 3.418 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000334/0.02311, allocations: 0.5235 MB / 286.4 MB, free: 2.883 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004702/0.02358, allocations: 365.8 kB / 286.7 MB, free: 2.477 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005187/0.0241, allocations: 420.8 kB / 287.1 MB, free: 2 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001068/0.02517, allocations: 0.7404 MB / 287.9 MB, free: 1.141 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/0.02517, allocations: 4 kB / 287.9 MB, free: 1.137 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001525/0.0267, allocations: 1.028 MB / 288.9 MB, free: 4 kB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002613/0.02696, allocations: 249.5 kB / 289.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.518e-06/0.02697, allocations: 0 / 289.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.723e-05/0.027, allocations: 4 kB / 289.1 MB, free: 15.71 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.042e-05/0.02705, allocations: 7.938 kB / 289.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.149e-05/0.02706, allocations: 4 kB / 289.2 MB, free: 15.7 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002743/0.02733, allocations: 27.94 kB / 289.2 MB, free: 15.67 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/0.02749, allocations: 112.2 kB / 289.3 MB, free: 15.56 MB / 282.7 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.0009527/0.02845, allocations: 0.6151 MB / 289.9 MB, free: 14.88 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000173/0.02862, allocations: 99.53 kB / 290 MB, free: 14.79 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002298/0.02885, allocations: 114.8 kB / 290.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.02885, allocations: 0 / 290.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.02886, allocations: 4 kB / 290.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.02886, allocations: 0 / 290.1 MB, free: 14.67 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002765/0.03163, allocations: 1.855 MB / 292 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-06/0.03163, allocations: 3.984 kB / 292 MB, free: 12.67 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.75e-05/0.03166, allocations: 7.938 kB / 292 MB, free: 12.66 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-06/0.03167, allocations: 7.984 kB / 292 MB, free: 12.65 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.43e-05/0.03174, allocations: 35.92 kB / 292 MB, free: 12.62 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.03174, allocations: 4 kB / 292 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.03174, allocations: 0 / 292 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001776/0.03352, allocations: 1.327 MB / 293.4 MB, free: 11.17 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008698/0.03439, allocations: 384.9 kB / 293.7 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.0345, allocations: 20 kB / 293.8 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002254/0.03472, allocations: 23.98 kB / 293.8 MB, free: 10.74 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002058/0.03493, allocations: 59.94 kB / 293.8 MB, free: 10.68 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001468/0.03508, allocations: 119.8 kB / 294 MB, free: 10.56 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001367/0.03644, allocations: 0.7796 MB / 294.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.03644, allocations: 0 / 294.7 MB, free: 9.785 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004386/0.03688, allocations: 92 kB / 294.8 MB, free: 9.695 MB / 282.7 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.0002189/0.0371, allocations: 135.2 kB / 295 MB, free: 9.555 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00152/0.03862, allocations: 1.318 MB / 296.3 MB, free: 8.035 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.03862, allocations: 0 / 296.3 MB, free: 8.035 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009463/0.03957, allocations: 0.9105 MB / 297.2 MB, free: 6.973 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.04077, allocations: 302.1 kB / 297.5 MB, free: 6.703 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002674/0.04344, allocations: 1.495 MB / 299 MB, free: 5.121 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005288/0.04397, allocations: 325 kB / 299.3 MB, free: 4.777 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002586/0.04423, allocations: 89.28 kB / 299.4 MB, free: 4.688 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001244/0.04435, allocations: 56.41 kB / 299.4 MB, free: 4.633 MB / 282.7 MB Notification: Performance of SimCode: time 1.673e-06/0.04435, allocations: 0 / 299.4 MB, free: 4.633 MB / 282.7 MB Notification: Performance of Templates: time 0.1364/0.1808, allocations: 10.28 MB / 309.7 MB, free: 42.15 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.826843001996167]