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.001109/0.001109, allocations: 81.81 kB / 21.42 MB, free: 3.07 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.004329/0.004329, allocations: 165.6 kB / 24.82 MB, free: 9.324 MB / 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.038/1.038, allocations: 177 MB / 205.1 MB, free: 5.469 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.382e-06/1.382e-06, allocations: 0 / 273.3 MB, free: 1.227 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.171e-05/2.309e-05, allocations: 2.312 kB / 273.3 MB, free: 1.223 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.00237/0.002393, allocations: 1.788 MB / 275.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.004137, allocations: 0.9548 MB / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.305e-05/0.00422, allocations: 0 / 276.1 MB, free: 14.46 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001486/0.004368, allocations: 27.72 kB / 276.1 MB, free: 14.43 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 9.547e-05/0.004464, allocations: 39.72 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003696/0.004834, allocations: 103.7 kB / 276.2 MB, free: 14.29 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003343/0.005168, allocations: 299.3 kB / 276.5 MB, free: 14 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.898e-05/0.005267, allocations: 29.78 kB / 276.6 MB, free: 13.97 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006301/0.005897, allocations: 0.7915 MB / 277.4 MB, free: 13.18 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001611/0.006058, allocations: 131.6 kB / 277.5 MB, free: 13.05 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 4.844e-05/0.006106, allocations: 20 kB / 277.5 MB, free: 13.03 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.374e-05/0.00615, allocations: 24 kB / 277.5 MB, free: 13.01 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001059/0.006256, allocations: 139.4 kB / 277.7 MB, free: 12.87 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.006358, allocations: 123.5 kB / 277.8 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004408/0.006798, allocations: 0.5605 MB / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.693e-06/0.0068, allocations: 0 / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of FrontEnd: time 7.62e-07/0.006801, allocations: 0 / 278.3 MB, free: 12.19 MB / 266.7 MB Notification: Performance of Transformations before backend: time 8.045e-06/0.006809, allocations: 0 / 278.3 MB, free: 12.19 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.001092/0.007901, allocations: 1.286 MB / 279.6 MB, free: 10.81 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.036e-05/0.007941, allocations: 11.98 kB / 279.6 MB, free: 10.8 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001097/0.008051, allocations: 92.47 kB / 279.7 MB, free: 10.71 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002751/0.008326, allocations: 349.1 kB / 280.1 MB, free: 10.34 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.00835, allocations: 16.55 kB / 280.1 MB, free: 10.32 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.066e-05/0.008381, allocations: 16.38 kB / 280.1 MB, free: 10.31 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003821/0.008763, allocations: 457.8 kB / 280.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.324e-06/0.00877, allocations: 0 / 280.6 MB, free: 9.801 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.409e-05/0.008794, allocations: 12 kB / 280.6 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.008799, allocations: 0 / 280.6 MB, free: 9.789 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001854/0.008985, allocations: 321.8 kB / 280.9 MB, free: 9.426 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007419/0.009727, allocations: 0.6251 MB / 281.5 MB, free: 8.773 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002335/0.00996, allocations: 348.5 kB / 281.8 MB, free: 8.371 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001788/0.01014, allocations: 341.1 kB / 282.2 MB, free: 7.984 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.133e-05/0.01015, allocations: 0 / 282.2 MB, free: 7.984 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003437/0.01049, allocations: 0.5793 MB / 282.8 MB, free: 7.316 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 1.222e-06/0.0105, allocations: 0 / 282.8 MB, free: 7.316 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.0009482/0.01144, allocations: 1.307 MB / 284.1 MB, free: 5.855 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/0.01155, allocations: 281 kB / 284.3 MB, free: 5.52 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008484/0.01239, allocations: 0.8813 MB / 285.2 MB, free: 4.625 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.01243, allocations: 41.7 kB / 285.3 MB, free: 4.578 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.945e-05/0.01251, allocations: 176.7 kB / 285.4 MB, free: 4.398 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.483e-05/0.01256, allocations: 71.52 kB / 285.5 MB, free: 4.328 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001352/0.0127, allocations: 171 kB / 285.7 MB, free: 4.152 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001326/0.01283, allocations: 0.504 MB / 286.2 MB, free: 3.637 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001771/0.01301, allocations: 313.8 kB / 286.5 MB, free: 3.281 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001836/0.01319, allocations: 363.4 kB / 286.8 MB, free: 2.863 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.01354, allocations: 0.6507 MB / 287.5 MB, free: 2.094 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01354, allocations: 4 kB / 287.5 MB, free: 2.09 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0006195/0.01416, allocations: 0.9185 MB / 288.4 MB, free: 1.066 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001074/0.01427, allocations: 249.6 kB / 288.7 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.01427, allocations: 0 / 288.7 MB, free: 0.7734 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.01429, allocations: 7.938 kB / 288.7 MB, free: 0.7656 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.153e-05/0.01431, allocations: 4 kB / 288.7 MB, free: 0.7617 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.734e-06/0.01431, allocations: 7.938 kB / 288.7 MB, free: 0.7539 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001331/0.01445, allocations: 32.03 kB / 288.7 MB, free: 0.7227 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-05/0.01453, allocations: 112.1 kB / 288.8 MB, free: 0.6133 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.0004213/0.01495, allocations: 0.615 MB / 289.4 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.273e-05/0.01503, allocations: 99.53 kB / 289.5 MB, free: 15.84 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001428/0.01517, allocations: 110.9 kB / 289.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.01518, allocations: 3.938 kB / 289.6 MB, free: 15.73 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.01518, allocations: 4 kB / 289.6 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.01518, allocations: 0 / 289.6 MB, free: 15.72 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001132/0.01632, allocations: 1.493 MB / 291.1 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.01632, allocations: 0 / 291.1 MB, free: 14.1 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.959e-06/0.01633, allocations: 4 kB / 291.1 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.01633, allocations: 0 / 291.1 MB, free: 14.09 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.316e-05/0.01636, allocations: 39.91 kB / 291.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.01637, allocations: 0 / 291.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01637, allocations: 0 / 291.2 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000735/0.0171, allocations: 1.186 MB / 292.4 MB, free: 12.75 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004471/0.01755, allocations: 376.9 kB / 292.7 MB, free: 12.37 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.493e-05/0.01761, allocations: 23.94 kB / 292.8 MB, free: 12.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001199/0.01773, allocations: 27.98 kB / 292.8 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.443e-05/0.01783, allocations: 51.89 kB / 292.8 MB, free: 12.27 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.953e-05/0.01791, allocations: 115.8 kB / 292.9 MB, free: 12.16 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004114/0.01832, allocations: 490.5 kB / 293.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01832, allocations: 0 / 293.4 MB, free: 11.68 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002694/0.01859, allocations: 92 kB / 293.5 MB, free: 11.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.0001357/0.01872, allocations: 139.2 kB / 293.6 MB, free: 11.45 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0006726/0.0194, allocations: 1.162 MB / 294.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.0194, allocations: 0 / 294.8 MB, free: 10.08 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003907/0.01979, allocations: 0.8128 MB / 295.6 MB, free: 9.117 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006503/0.02044, allocations: 292.7 kB / 295.9 MB, free: 8.859 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.0219, allocations: 1.444 MB / 297.4 MB, free: 7.328 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.02203, allocations: 148.3 kB / 297.5 MB, free: 7.164 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.000199/0.02223, allocations: 85.28 kB / 297.6 MB, free: 7.078 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005521/0.02278, allocations: 318 kB / 297.9 MB, free: 6.766 MB / 282.7 MB Notification: Performance of SimCode: time 1.744e-06/0.02278, allocations: 0 / 297.9 MB, free: 6.766 MB / 282.7 MB Notification: Performance of Templates: time 0.1152/0.1379, allocations: 9.61 MB / 307.5 MB, free: 40.31 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.935559207573533]