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.00158/0.00158, allocations: 91.5 kB / 21.2 MB, free: 3.375 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.001698/0.001698, allocations: 156.5 kB / 24.55 MB, free: 20 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 0.9557/0.9557, allocations: 177 MB / 204.8 MB, free: 5.59 MB / 186.7 MB " [Timeout remaining time 179] 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.312e-06/1.312e-06, allocations: 3.938 kB / 272.9 MB, free: 1.461 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.691e-05, allocations: 9.266 kB / 272.9 MB, free: 1.453 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.005594/0.00561, allocations: 1.794 MB / 274.7 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001734/0.007344, allocations: 0.951 MB / 275.7 MB, free: 14.69 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.946e-05/0.007414, allocations: 3.938 kB / 275.7 MB, free: 14.68 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003187/0.0106, allocations: 27.78 kB / 275.7 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.0107, allocations: 47.59 kB / 275.7 MB, free: 14.61 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003538/0.01106, allocations: 99.75 kB / 275.8 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003164/0.01137, allocations: 291.3 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.01148, allocations: 33.78 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006975/0.01218, allocations: 0.7954 MB / 276.9 MB, free: 13.4 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/0.01233, allocations: 127.6 kB / 277.1 MB, free: 13.27 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 5.533e-05/0.01239, allocations: 20 kB / 277.1 MB, free: 13.25 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.656e-05/0.01244, allocations: 20 kB / 277.1 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001207/0.01256, allocations: 147.4 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001253/0.01268, allocations: 115.5 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004807/0.01316, allocations: 0.5721 MB / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.01317, allocations: 4 kB / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.01317, allocations: 0 / 277.9 MB, free: 12.4 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.869e-06/0.01317, allocations: 0 / 277.9 MB, free: 12.4 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.004031/0.0172, allocations: 1.259 MB / 279.2 MB, free: 11.05 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.01724, allocations: 15.98 kB / 279.2 MB, free: 11.04 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001233/0.01736, allocations: 92.47 kB / 279.3 MB, free: 10.95 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003053/0.01766, allocations: 349.1 kB / 279.6 MB, free: 10.57 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.761e-05/0.01769, allocations: 16.56 kB / 279.7 MB, free: 10.56 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.859e-05/0.01773, allocations: 24.38 kB / 279.7 MB, free: 10.54 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004819/0.01821, allocations: 485.7 kB / 280.2 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.01822, allocations: 0 / 280.2 MB, free: 10 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.073e-05/0.01825, allocations: 8 kB / 280.2 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.762e-06/0.01826, allocations: 0 / 280.2 MB, free: 9.992 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000255/0.01851, allocations: 345.8 kB / 280.5 MB, free: 9.605 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00423/0.02274, allocations: 0.8 MB / 281.3 MB, free: 8.77 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003075/0.02305, allocations: 376.6 kB / 281.7 MB, free: 8.34 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002411/0.02329, allocations: 349.2 kB / 282 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.327e-06/0.0233, allocations: 0 / 282 MB, free: 7.945 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004183/0.02372, allocations: 0.6066 MB / 282.6 MB, free: 7.25 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.193e-06/0.02372, allocations: 0 / 282.6 MB, free: 7.25 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001168/0.02489, allocations: 1.35 MB / 284 MB, free: 5.746 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/0.02499, allocations: 292.9 kB / 284.3 MB, free: 5.398 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004311/0.0293, allocations: 1.116 MB / 285.4 MB, free: 4.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.743e-05/0.02934, allocations: 37.7 kB / 285.4 MB, free: 4.227 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.51e-05/0.02942, allocations: 176.8 kB / 285.6 MB, free: 4.047 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.909e-05/0.02949, allocations: 75.47 kB / 285.7 MB, free: 3.973 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001649/0.02966, allocations: 163 kB / 285.8 MB, free: 3.805 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000125/0.02978, allocations: 0.5079 MB / 286.3 MB, free: 3.285 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002399/0.03002, allocations: 333.8 kB / 286.7 MB, free: 2.91 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002525/0.03027, allocations: 383.5 kB / 287 MB, free: 2.473 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004484/0.03072, allocations: 0.678 MB / 287.7 MB, free: 1.676 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.03073, allocations: 0 / 287.7 MB, free: 1.676 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001058/0.03178, allocations: 0.9614 MB / 288.7 MB, free: 0.6094 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.03189, allocations: 249.5 kB / 288.9 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.087e-06/0.0319, allocations: 0 / 288.9 MB, free: 324 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.03191, allocations: 4 kB / 288.9 MB, free: 320 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.695e-05/0.03193, allocations: 11.94 kB / 288.9 MB, free: 308 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.03194, allocations: 0 / 288.9 MB, free: 308 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001617/0.0321, allocations: 36.03 kB / 289 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.727e-05/0.0322, allocations: 108.1 kB / 289.1 MB, free: 164 kB / 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.0004864/0.03268, allocations: 0.6112 MB / 289.7 MB, free: 15.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.03279, allocations: 95.53 kB / 289.8 MB, free: 15.39 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001533/0.03294, allocations: 118.8 kB / 289.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.03294, allocations: 0 / 289.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.03295, allocations: 4 kB / 289.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.03295, allocations: 0 / 289.9 MB, free: 15.27 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001588/0.03454, allocations: 1.695 MB / 291.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.03454, allocations: 0 / 291.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.03455, allocations: 7.938 kB / 291.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.896e-06/0.03455, allocations: 0 / 291.6 MB, free: 13.43 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.208e-05/0.0346, allocations: 35.97 kB / 291.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.0346, allocations: 0 / 291.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.0346, allocations: 0 / 291.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000981/0.03558, allocations: 1.237 MB / 292.9 MB, free: 12.04 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005254/0.03611, allocations: 384.9 kB / 293.2 MB, free: 11.65 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.016e-05/0.03619, allocations: 20 kB / 293.3 MB, free: 11.63 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.03634, allocations: 20 kB / 293.3 MB, free: 11.61 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001276/0.03647, allocations: 63.92 kB / 293.3 MB, free: 11.55 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.305e-05/0.03656, allocations: 111.9 kB / 293.5 MB, free: 11.44 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008485/0.03741, allocations: 0.7288 MB / 294.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.03741, allocations: 0 / 294.2 MB, free: 10.71 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003314/0.03774, allocations: 92 kB / 294.3 MB, free: 10.62 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.0001236/0.03786, allocations: 135.2 kB / 294.4 MB, free: 10.48 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0009917/0.03885, allocations: 1.209 MB / 295.6 MB, free: 9.07 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.03886, allocations: 0 / 295.6 MB, free: 9.07 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004741/0.03933, allocations: 0.8402 MB / 296.4 MB, free: 8.078 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007698/0.0401, allocations: 290 kB / 296.7 MB, free: 7.82 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.04166, allocations: 1.468 MB / 298.2 MB, free: 6.266 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.0418, allocations: 144.2 kB / 298.3 MB, free: 6.105 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001664/0.04197, allocations: 93.27 kB / 298.4 MB, free: 6.012 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.222e-05/0.04205, allocations: 52.42 kB / 298.5 MB, free: 5.961 MB / 282.7 MB Notification: Performance of SimCode: time 6.01e-07/0.04205, allocations: 0 / 298.5 MB, free: 5.961 MB / 282.7 MB Notification: Performance of Templates: time 0.1077/0.1497, allocations: 10.79 MB / 309.3 MB, free: 41.12 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.9783123689703643]