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.001464/0.001464, allocations: 77.7 kB / 21.25 MB, free: 0.5469 MB / 14.72 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.001603/0.001603, allocations: 161.3 kB / 24.5 MB, free: 3.711 MB / 14.72 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.469/1.469, allocations: 177.1 MB / 204.7 MB, free: 8.957 MB / 190.1 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 0.002308/0.002308, allocations: 65.88 kB / 325.5 MB, free: 176 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1152/0.1175, allocations: 53.38 MB / 378.9 MB, free: 15.45 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003601/0.1211, allocations: 1.737 MB / 380.6 MB, free: 13.71 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002423/0.1235, allocations: 0.9316 MB / 381.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.1236, allocations: 4 kB / 381.6 MB, free: 12.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000178/0.1238, allocations: 19.78 kB / 381.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.1239, allocations: 47.64 kB / 381.6 MB, free: 12.7 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004216/0.1243, allocations: 99.83 kB / 381.7 MB, free: 12.6 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004095/0.1247, allocations: 295.3 kB / 382 MB, free: 12.31 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001342/0.1249, allocations: 33.73 kB / 382.1 MB, free: 12.28 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008648/0.1257, allocations: 0.7485 MB / 382.8 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002421/0.126, allocations: 151.4 kB / 383 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.434e-05/0.1261, allocations: 20 kB / 383 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.965e-05/0.1261, allocations: 24 kB / 383 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001652/0.1263, allocations: 143.4 kB / 383.1 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002042/0.1265, allocations: 170.6 kB / 383.3 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007469/0.1272, allocations: 0.7508 MB / 384.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.1272, allocations: 0 / 384.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1272, allocations: 0 / 384.1 MB, free: 10.27 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.725e-06/0.1273, allocations: 0 / 384.1 MB, free: 10.27 MB / 350.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.001297/0.1286, allocations: 1.124 MB / 385.2 MB, free: 9.066 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.1286, allocations: 15.92 kB / 385.2 MB, free: 9.051 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.1287, allocations: 84.45 kB / 385.3 MB, free: 8.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004412/0.1292, allocations: 339 kB / 385.6 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.848e-05/0.1292, allocations: 16.56 kB / 385.6 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.1292, allocations: 20.38 kB / 385.7 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006645/0.1299, allocations: 488.4 kB / 386.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.1299, allocations: 0 / 386.1 MB, free: 8.039 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.975e-05/0.1299, allocations: 15.98 kB / 386.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.13, allocations: 0 / 386.1 MB, free: 8.023 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004641/0.1304, allocations: 377.8 kB / 386.5 MB, free: 7.605 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001119/0.1315, allocations: 0.6292 MB / 387.1 MB, free: 6.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005168/0.1321, allocations: 388.1 kB / 387.5 MB, free: 6.508 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004207/0.1325, allocations: 370.4 kB / 387.9 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.49e-05/0.1325, allocations: 7.938 kB / 387.9 MB, free: 6.086 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008407/0.1333, allocations: 0.6148 MB / 388.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of pre-optimization done (n=29): time 1.673e-06/0.1333, allocations: 0 / 388.5 MB, free: 5.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=29): time 0.001953/0.1353, allocations: 1.42 MB / 389.9 MB, free: 3.812 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000194/0.1355, allocations: 285 kB / 390.2 MB, free: 3.473 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.1368, allocations: 0.9452 MB / 391.2 MB, free: 2.516 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.121e-05/0.1369, allocations: 37.7 kB / 391.2 MB, free: 2.473 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000114/0.137, allocations: 130.1 kB / 391.3 MB, free: 2.344 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.304e-05/0.1371, allocations: 71.47 kB / 391.4 MB, free: 2.273 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002348/0.1373, allocations: 165.3 kB / 391.5 MB, free: 2.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002041/0.1375, allocations: 338.8 kB / 391.9 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004257/0.138, allocations: 365.8 kB / 392.2 MB, free: 1.359 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/0.1384, allocations: 414 kB / 392.6 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008455/0.1393, allocations: 0.7184 MB / 393.4 MB, free: 64 kB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.548e-06/0.1393, allocations: 4 kB / 393.4 MB, free: 60 kB / 350.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001325/0.1406, allocations: 1.012 MB / 394.4 MB, free: 14.94 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001906/0.1408, allocations: 245.7 kB / 394.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.1408, allocations: 8 kB / 394.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1408, allocations: 0 / 394.6 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.084e-05/0.1409, allocations: 8 kB / 394.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.603e-06/0.1409, allocations: 0 / 394.6 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002501/0.1411, allocations: 31.94 kB / 394.7 MB, free: 14.6 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001369/0.1413, allocations: 104.1 kB / 394.8 MB, free: 14.5 MB / 366.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.0007292/0.142, allocations: 0.6161 MB / 395.4 MB, free: 13.83 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.1421, allocations: 83.47 kB / 395.5 MB, free: 13.75 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002129/0.1423, allocations: 134.9 kB / 395.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.1423, allocations: 4 kB / 395.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.1423, allocations: 0 / 395.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.1423, allocations: 0 / 395.6 MB, free: 13.61 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002023/0.1444, allocations: 1.582 MB / 397.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1444, allocations: 0 / 397.2 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.913e-05/0.1444, allocations: 7.984 kB / 397.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.1444, allocations: 0 / 397.2 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.315e-05/0.1444, allocations: 31.98 kB / 397.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.1444, allocations: 0 / 397.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.1444, allocations: 0 / 397.2 MB, free: 11.85 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001453/0.1459, allocations: 1.217 MB / 398.4 MB, free: 10.52 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007978/0.1467, allocations: 412.9 kB / 398.8 MB, free: 10.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001036/0.1468, allocations: 24 kB / 398.9 MB, free: 10.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.147, allocations: 27.92 kB / 398.9 MB, free: 10.05 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001745/0.1472, allocations: 59.94 kB / 398.9 MB, free: 9.996 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001345/0.1473, allocations: 115.8 kB / 399.1 MB, free: 9.883 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0009653/0.1483, allocations: 0.6899 MB / 399.7 MB, free: 9.199 MB / 366.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.1483, allocations: 0 / 399.7 MB, free: 9.199 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0004276/0.1487, allocations: 92 kB / 399.8 MB, free: 9.109 MB / 366.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.0002021/0.1489, allocations: 143.2 kB / 400 MB, free: 8.957 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001346/0.1503, allocations: 1.252 MB / 401.2 MB, free: 7.508 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.1503, allocations: 0 / 401.2 MB, free: 7.508 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007634/0.151, allocations: 0.8483 MB / 402.1 MB, free: 6.512 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001082/0.1521, allocations: 280.5 kB / 402.4 MB, free: 6.262 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/0.1545, allocations: 1.54 MB / 403.9 MB, free: 4.641 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004741/0.1549, allocations: 345 kB / 404.2 MB, free: 4.277 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0002365/0.1552, allocations: 97.25 kB / 404.3 MB, free: 4.18 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.836e-05/0.1553, allocations: 48.42 kB / 404.4 MB, free: 4.133 MB / 366.1 MB Notification: Performance of SimCode: time 9.02e-07/0.1553, allocations: 0 / 404.4 MB, free: 4.133 MB / 366.1 MB Notification: Performance of Templates: time 0.01597/0.1712, allocations: 10.35 MB / 414.7 MB, free: 9.855 MB / 382.1 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 -s ida -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins1/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.687191515928134]