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.001445/0.001445, allocations: 96.25 kB / 20.96 MB, free: 3.465 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.001622/0.001622, allocations: 160.9 kB / 24.27 MB, free: 164 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.48/1.48, allocations: 177 MB / 204.5 MB, free: 5.633 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.734e-06/1.734e-06, allocations: 0 / 272.2 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.573e-05/3.746e-05, allocations: 5.266 kB / 272.2 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003278/0.003315, allocations: 1.738 MB / 273.9 MB, free: 72 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.002388/0.005704, allocations: 0.9276 MB / 274.9 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.79e-05/0.005781, allocations: 8 kB / 274.9 MB, free: 15.13 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001697/0.005951, allocations: 23.72 kB / 274.9 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001138/0.006065, allocations: 43.64 kB / 274.9 MB, free: 15.06 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000428/0.006493, allocations: 107.7 kB / 275 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004225/0.006916, allocations: 291.3 kB / 275.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00013/0.007046, allocations: 29.78 kB / 275.4 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009918/0.008037, allocations: 0.7877 MB / 276.1 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000232/0.008269, allocations: 131.6 kB / 276.3 MB, free: 13.73 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 6.7e-05/0.008336, allocations: 20 kB / 276.3 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.86e-05/0.008395, allocations: 24 kB / 276.3 MB, free: 13.68 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001744/0.008569, allocations: 147.4 kB / 276.5 MB, free: 13.54 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001803/0.00875, allocations: 115.5 kB / 276.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008674/0.009617, allocations: 0.7514 MB / 277.3 MB, free: 12.67 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.009623, allocations: 7.922 kB / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.009625, allocations: 0 / 277.3 MB, free: 12.66 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.044e-06/0.009632, allocations: 0 / 277.3 MB, free: 12.66 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.001459/0.01109, allocations: 1.101 MB / 278.4 MB, free: 11.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.01113, allocations: 15.98 kB / 278.5 MB, free: 11.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001833/0.01132, allocations: 96.42 kB / 278.5 MB, free: 11.37 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004843/0.0118, allocations: 358.2 kB / 278.9 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.559e-05/0.01185, allocations: 16.56 kB / 278.9 MB, free: 10.98 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.071e-05/0.0119, allocations: 16.38 kB / 278.9 MB, free: 10.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007686/0.01267, allocations: 489.2 kB / 279.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.01268, allocations: 0 / 279.4 MB, free: 10.43 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.688e-05/0.01272, allocations: 12 kB / 279.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.01273, allocations: 3.938 kB / 279.4 MB, free: 10.41 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005197/0.01325, allocations: 377.8 kB / 279.8 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.01445, allocations: 0.6292 MB / 280.4 MB, free: 9.332 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/0.01502, allocations: 404 kB / 280.8 MB, free: 8.883 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004854/0.01551, allocations: 370.3 kB / 281.2 MB, free: 8.469 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.927e-05/0.01553, allocations: 4 kB / 281.2 MB, free: 8.465 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008885/0.01642, allocations: 0.6167 MB / 281.8 MB, free: 7.762 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.943e-06/0.01642, allocations: 0 / 281.8 MB, free: 7.762 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002154/0.01857, allocations: 1.428 MB / 283.2 MB, free: 6.18 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002092/0.01878, allocations: 285 kB / 283.5 MB, free: 5.84 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001541/0.02032, allocations: 0.9452 MB / 284.4 MB, free: 4.883 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 6.159e-05/0.02039, allocations: 41.69 kB / 284.5 MB, free: 4.836 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001128/0.0205, allocations: 122.1 kB / 284.6 MB, free: 4.715 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001034/0.0206, allocations: 75.47 kB / 284.7 MB, free: 4.641 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002479/0.02085, allocations: 165.3 kB / 284.8 MB, free: 4.473 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002061/0.02106, allocations: 334.8 kB / 285.2 MB, free: 4.137 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000467/0.02152, allocations: 361.8 kB / 285.5 MB, free: 3.734 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005169/0.02204, allocations: 405.5 kB / 285.9 MB, free: 3.277 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009182/0.02296, allocations: 0.7254 MB / 286.6 MB, free: 2.438 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.02296, allocations: 0 / 286.6 MB, free: 2.438 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001544/0.02451, allocations: 1.024 MB / 287.7 MB, free: 1.309 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002081/0.02471, allocations: 249.5 kB / 287.9 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.02472, allocations: 0 / 287.9 MB, free: 1.016 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/0.02474, allocations: 7.938 kB / 287.9 MB, free: 1.008 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.785e-05/0.02478, allocations: 7.984 kB / 287.9 MB, free: 1 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.02479, allocations: 4 kB / 287.9 MB, free: 0.9961 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002812/0.02507, allocations: 27.94 kB / 288 MB, free: 0.9688 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001438/0.02522, allocations: 108.1 kB / 288.1 MB, free: 0.8633 MB / 266.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.0007833/0.026, allocations: 0.6163 MB / 288.7 MB, free: 192 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/0.02616, allocations: 95.53 kB / 288.8 MB, free: 96 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002406/0.0264, allocations: 130.9 kB / 288.9 MB, free: 15.96 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.02641, allocations: 4 kB / 288.9 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.02641, allocations: 0 / 288.9 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.851e-06/0.02642, allocations: 3.984 kB / 288.9 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002222/0.02864, allocations: 1.575 MB / 290.5 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-06/0.02864, allocations: 0 / 290.5 MB, free: 14.24 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.961e-05/0.02866, allocations: 7.938 kB / 290.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.02866, allocations: 0 / 290.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.963e-05/0.02873, allocations: 31.98 kB / 290.5 MB, free: 14.2 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.298e-06/0.02874, allocations: 11.94 kB / 290.5 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.02874, allocations: 0 / 290.5 MB, free: 14.19 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001778/0.03052, allocations: 1.244 MB / 291.8 MB, free: 12.83 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008095/0.03133, allocations: 412.9 kB / 292.2 MB, free: 12.41 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000113/0.03144, allocations: 24 kB / 292.2 MB, free: 12.39 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002595/0.0317, allocations: 27.97 kB / 292.2 MB, free: 12.36 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001759/0.03188, allocations: 47.95 kB / 292.3 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001467/0.03202, allocations: 119.8 kB / 292.4 MB, free: 12.2 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001129/0.03315, allocations: 0.6899 MB / 293.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03315, allocations: 0 / 293.1 MB, free: 11.52 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0004556/0.03361, allocations: 96 kB / 293.2 MB, free: 11.42 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.0002209/0.03383, allocations: 135.2 kB / 293.3 MB, free: 11.28 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001532/0.03536, allocations: 1.252 MB / 294.6 MB, free: 9.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.03536, allocations: 0 / 294.6 MB, free: 9.832 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009073/0.03627, allocations: 0.8405 MB / 295.4 MB, free: 8.844 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001166/0.03744, allocations: 313.5 kB / 295.7 MB, free: 8.562 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.03999, allocations: 1.548 MB / 297.3 MB, free: 6.934 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005234/0.04052, allocations: 341 kB / 297.6 MB, free: 6.578 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0002587/0.04078, allocations: 89.28 kB / 297.7 MB, free: 6.488 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001181/0.04089, allocations: 48.42 kB / 297.7 MB, free: 6.441 MB / 282.7 MB Notification: Performance of SimCode: time 1.232e-06/0.0409, allocations: 4 kB / 297.7 MB, free: 6.438 MB / 282.7 MB Notification: Performance of Templates: time 0.1313/0.1722, allocations: 10.27 MB / 308 MB, free: 43 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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 480] 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.492957370937802]