Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008355/0.0008355, allocations: 83.58 kB / 21.19 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009621/0.0009621, allocations: 165 kB / 24.56 MB, free: 16 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.034/1.034, allocations: 177.1 MB / 205 MB, free: 5.297 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5017,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.345e-06/2.345e-06, allocations: 0 / 273 MB, free: 1.414 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.962e-05/2.196e-05, allocations: 6.312 kB / 273 MB, free: 1.406 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002194/0.002216, allocations: 1.786 MB / 274.8 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001678/0.003893, allocations: 0.9665 MB / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.239e-05/0.003976, allocations: 0 / 275.7 MB, free: 14.64 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001358/0.004112, allocations: 19.8 kB / 275.7 MB, free: 14.62 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 8.853e-05/0.0042, allocations: 47.64 kB / 275.8 MB, free: 14.57 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003442/0.004544, allocations: 103.7 kB / 275.9 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002824/0.004827, allocations: 291.3 kB / 276.2 MB, free: 14.18 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.004929, allocations: 33.78 kB / 276.2 MB, free: 14.15 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006004/0.005529, allocations: 0.7954 MB / 277 MB, free: 13.36 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.005671, allocations: 135.5 kB / 277.1 MB, free: 13.22 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.777e-05/0.005719, allocations: 20 kB / 277.2 MB, free: 13.2 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.192e-05/0.00576, allocations: 20 kB / 277.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001097/0.00587, allocations: 139.5 kB / 277.3 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.005981, allocations: 115.5 kB / 277.4 MB, free: 12.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004352/0.006416, allocations: 0.5682 MB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.006418, allocations: 0 / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.006418, allocations: 0 / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.006427, allocations: 4 kB / 278 MB, free: 12.36 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.0009801/0.007407, allocations: 1.271 MB / 279.3 MB, free: 11 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.904e-05/0.007446, allocations: 12.03 kB / 279.3 MB, free: 10.99 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001088/0.007555, allocations: 96.47 kB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002759/0.00783, allocations: 341.2 kB / 279.7 MB, free: 10.53 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.835e-05/0.007859, allocations: 20.5 kB / 279.7 MB, free: 10.51 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.229e-05/0.007891, allocations: 20.38 kB / 279.8 MB, free: 10.49 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004202/0.008311, allocations: 474.2 kB / 280.2 MB, free: 9.969 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.008319, allocations: 3.984 kB / 280.2 MB, free: 9.965 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.45e-05/0.008344, allocations: 7.984 kB / 280.2 MB, free: 9.957 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.452e-06/0.00835, allocations: 4 kB / 280.2 MB, free: 9.953 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002326/0.008583, allocations: 349.8 kB / 280.6 MB, free: 9.562 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009716/0.009554, allocations: 0.7962 MB / 281.4 MB, free: 8.73 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003152/0.00987, allocations: 376.6 kB / 281.7 MB, free: 8.301 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.01011, allocations: 349.2 kB / 282.1 MB, free: 7.906 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.245e-05/0.01012, allocations: 0 / 282.1 MB, free: 7.906 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004189/0.01054, allocations: 0.6066 MB / 282.7 MB, free: 7.211 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.463e-06/0.01054, allocations: 0 / 282.7 MB, free: 7.211 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.001099/0.01164, allocations: 1.365 MB / 284 MB, free: 5.691 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.01174, allocations: 285 kB / 284.3 MB, free: 5.352 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001015/0.01276, allocations: 1.112 MB / 285.4 MB, free: 4.223 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.431e-05/0.01279, allocations: 37.7 kB / 285.5 MB, free: 4.18 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.529e-05/0.01288, allocations: 176.8 kB / 285.6 MB, free: 4 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.712e-05/0.01293, allocations: 67.47 kB / 285.7 MB, free: 3.934 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.01307, allocations: 171 kB / 285.9 MB, free: 3.758 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001289/0.0132, allocations: 0.5079 MB / 286.4 MB, free: 3.238 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002058/0.01341, allocations: 337.8 kB / 286.7 MB, free: 2.859 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.01363, allocations: 380.8 kB / 287.1 MB, free: 2.422 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004123/0.01404, allocations: 0.6702 MB / 287.8 MB, free: 1.633 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/0.01404, allocations: 0 / 287.8 MB, free: 1.633 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.000743/0.01478, allocations: 0.9699 MB / 288.7 MB, free: 0.5586 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.01489, allocations: 249.6 kB / 289 MB, free: 272 kB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.0149, allocations: 4 kB / 289 MB, free: 268 kB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.01491, allocations: 4 kB / 289 MB, free: 264 kB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.773e-05/0.01494, allocations: 4 kB / 289 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/0.01495, allocations: 0 / 289 MB, free: 260 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.01511, allocations: 31.94 kB / 289 MB, free: 228 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/0.01529, allocations: 108.1 kB / 289.1 MB, free: 120 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.0004459/0.01574, allocations: 0.6072 MB / 289.7 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.657e-05/0.01582, allocations: 103.5 kB / 289.8 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001361/0.01596, allocations: 114.8 kB / 289.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.095e-06/0.01596, allocations: 0 / 289.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.01597, allocations: 0 / 289.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.01597, allocations: 3.984 kB / 289.9 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001508/0.01748, allocations: 1.683 MB / 291.6 MB, free: 13.41 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.605e-06/0.01749, allocations: 4 kB / 291.6 MB, free: 13.4 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.087e-05/0.0175, allocations: 7.938 kB / 291.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.494e-06/0.0175, allocations: 0 / 291.6 MB, free: 13.39 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.251e-05/0.01753, allocations: 27.98 kB / 291.7 MB, free: 13.37 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.01754, allocations: 4 kB / 291.7 MB, free: 13.36 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.09e-06/0.01754, allocations: 15.92 kB / 291.7 MB, free: 13.35 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007939/0.01834, allocations: 1.237 MB / 292.9 MB, free: 11.99 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003981/0.01873, allocations: 372.9 kB / 293.3 MB, free: 11.62 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.0188, allocations: 20 kB / 293.3 MB, free: 11.6 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001197/0.01892, allocations: 23.98 kB / 293.3 MB, free: 11.57 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.01903, allocations: 59.92 kB / 293.4 MB, free: 11.52 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.319e-05/0.01911, allocations: 115.9 kB / 293.5 MB, free: 11.4 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006347/0.01974, allocations: 0.7249 MB / 294.2 MB, free: 10.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01974, allocations: 4 kB / 294.2 MB, free: 10.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002459/0.01999, allocations: 88 kB / 294.3 MB, free: 10.59 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.0001155/0.0201, allocations: 147.2 kB / 294.5 MB, free: 10.44 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006836/0.02079, allocations: 1.209 MB / 295.7 MB, free: 9.031 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.02079, allocations: 0 / 295.7 MB, free: 9.031 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003944/0.02118, allocations: 0.8363 MB / 296.5 MB, free: 8.043 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006216/0.02181, allocations: 289.5 kB / 296.8 MB, free: 7.785 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001288/0.02309, allocations: 1.472 MB / 298.3 MB, free: 6.227 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001112/0.0232, allocations: 152.1 kB / 298.4 MB, free: 6.059 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001392/0.02334, allocations: 93.27 kB / 298.5 MB, free: 5.965 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.358e-05/0.02341, allocations: 48.42 kB / 298.5 MB, free: 5.918 MB / 282.7 MB Notification: Performance of SimCode: time 7.81e-07/0.02341, allocations: 0 / 298.5 MB, free: 5.918 MB / 282.7 MB Notification: Performance of Templates: time 0.1125/0.136, allocations: 10.81 MB / 309.4 MB, free: 41.05 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.8977938727475703]