Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, allocations: 111.6 kB / 17.29 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001078/0.001078, allocations: 193.3 kB / 18.21 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.35/1.35, allocations: 222.9 MB / 241.9 MB, free: 15.43 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 51.98 kB / 300.8 MB, free: 6.215 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09188/0.09304, allocations: 49.45 MB / 350.2 MB, free: 4.758 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.003431/0.09651, allocations: 1.852 MB / 352.1 MB, free: 2.891 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002061/0.09861, allocations: 0.9433 MB / 353 MB, free: 1.941 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001281/0.09876, allocations: 11.94 kB / 353 MB, free: 1.93 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.09893, allocations: 19.84 kB / 353.1 MB, free: 1.91 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.09909, allocations: 27.78 kB / 353.1 MB, free: 1.883 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003487/0.09944, allocations: 87.86 kB / 353.2 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003874/0.09984, allocations: 311.4 kB / 353.5 MB, free: 1.492 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001309/0.09998, allocations: 57.64 kB / 353.5 MB, free: 1.434 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007481/0.1007, allocations: 0.7291 MB / 354.3 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002278/0.101, allocations: 159.4 kB / 354.4 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.091e-05/0.1011, allocations: 20 kB / 354.4 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.601e-05/0.1011, allocations: 20 kB / 354.5 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001335/0.1013, allocations: 143.4 kB / 354.6 MB, free: 376 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.1015, allocations: 238.3 kB / 354.8 MB, free: 136 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005118/0.102, allocations: 0.6199 MB / 355.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.102, allocations: 0 / 355.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.102, allocations: 0 / 355.4 MB, free: 15.51 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.462e-05/0.102, allocations: 4 kB / 355.5 MB, free: 15.51 MB / 302.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.001301/0.1033, allocations: 1.169 MB / 356.6 MB, free: 14.24 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.597e-05/0.1034, allocations: 8.031 kB / 356.6 MB, free: 14.23 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.1035, allocations: 76.09 kB / 356.7 MB, free: 14.16 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003781/0.1039, allocations: 392.1 kB / 357.1 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.104, allocations: 16.56 kB / 357.1 MB, free: 13.72 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.423e-05/0.104, allocations: 20.38 kB / 357.1 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005076/0.1045, allocations: 246.2 kB / 357.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.1046, allocations: 0 / 357.4 MB, free: 13.45 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.061e-05/0.1046, allocations: 16 kB / 357.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.1046, allocations: 0 / 357.4 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002928/0.1049, allocations: 140.1 kB / 357.5 MB, free: 13.3 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.106, allocations: 0.7309 MB / 358.2 MB, free: 12.52 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003561/0.1064, allocations: 206.4 kB / 358.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002826/0.1067, allocations: 172.8 kB / 358.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.1067, allocations: 0 / 358.6 MB, free: 12.13 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005482/0.1073, allocations: 389.9 kB / 359 MB, free: 11.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 3.257e-06/0.1073, allocations: 4 kB / 359 MB, free: 11.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001489/0.1088, allocations: 0.9284 MB / 359.9 MB, free: 10.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001457/0.1089, allocations: 281 kB / 360.2 MB, free: 10.39 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001213/0.1102, allocations: 0.9491 MB / 361.2 MB, free: 9.434 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.377e-05/0.1102, allocations: 37.7 kB / 361.2 MB, free: 9.391 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.1103, allocations: 130 kB / 361.3 MB, free: 9.258 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.717e-05/0.1104, allocations: 59.27 kB / 361.4 MB, free: 9.199 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.1106, allocations: 161 kB / 361.5 MB, free: 9.035 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001231/0.1108, allocations: 350.8 kB / 361.9 MB, free: 8.684 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002636/0.111, allocations: 120.2 kB / 362 MB, free: 8.566 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000273/0.1113, allocations: 172.6 kB / 362.2 MB, free: 8.387 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006684/0.112, allocations: 0.6989 MB / 362.9 MB, free: 7.574 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.112, allocations: 7.938 kB / 362.9 MB, free: 7.566 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.00108/0.1131, allocations: 0.7488 MB / 363.6 MB, free: 6.762 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.1132, allocations: 249.6 kB / 363.9 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.1133, allocations: 0 / 363.9 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.1133, allocations: 0 / 363.9 MB, free: 6.469 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.068e-05/0.1133, allocations: 11.98 kB / 363.9 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.1133, allocations: 0 / 363.9 MB, free: 6.457 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002611/0.1136, allocations: 35.86 kB / 363.9 MB, free: 6.422 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001168/0.1137, allocations: 112.1 kB / 364 MB, free: 6.312 MB / 302.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.0005892/0.1143, allocations: 0.6124 MB / 364.6 MB, free: 5.641 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001157/0.1144, allocations: 79.06 kB / 364.7 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001885/0.1146, allocations: 138.8 kB / 364.8 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.1147, allocations: 0 / 364.8 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.1147, allocations: 0 / 364.8 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.1147, allocations: 0 / 364.8 MB, free: 5.422 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001828/0.1165, allocations: 1.425 MB / 366.3 MB, free: 3.891 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1165, allocations: 4 kB / 366.3 MB, free: 3.887 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.721e-05/0.1165, allocations: 7.984 kB / 366.3 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.446e-06/0.1166, allocations: 0 / 366.3 MB, free: 3.879 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.329e-05/0.1166, allocations: 27.98 kB / 366.3 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.435e-06/0.1166, allocations: 0 / 366.3 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.1166, allocations: 0 / 366.3 MB, free: 3.852 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001212/0.1178, allocations: 0.9647 MB / 367.3 MB, free: 2.82 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005474/0.1184, allocations: 419.7 kB / 367.7 MB, free: 2.391 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000112/0.1185, allocations: 27.98 kB / 367.7 MB, free: 2.363 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002449/0.1188, allocations: 19.98 kB / 367.7 MB, free: 2.344 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001584/0.1189, allocations: 59.92 kB / 367.8 MB, free: 2.285 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001161/0.1191, allocations: 107.9 kB / 367.9 MB, free: 2.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0009035/0.12, allocations: 0.686 MB / 368.6 MB, free: 1.496 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.12, allocations: 0 / 368.6 MB, free: 1.496 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0004347/0.1204, allocations: 99.84 kB / 368.7 MB, free: 1.398 MB / 302.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.0001846/0.1206, allocations: 151.2 kB / 368.8 MB, free: 1.238 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0009996/0.1216, allocations: 0.9004 MB / 369.7 MB, free: 248 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1216, allocations: 0 / 369.7 MB, free: 248 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.1443/0.266, allocations: 0.745 MB / 370.5 MB, free: 26.15 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.2673, allocations: 280.6 kB / 370.7 MB, free: 26.13 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002265/0.2696, allocations: 1.569 MB / 372.3 MB, free: 25.36 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005183/0.2701, allocations: 0.9355 MB / 373.2 MB, free: 24.61 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001623/0.2703, allocations: 59.7 kB / 373.3 MB, free: 24.58 MB / 302.1 MB Notification: Performance of SimCode: time 1.292e-06/0.2703, allocations: 0 / 373.3 MB, free: 24.58 MB / 302.1 MB Notification: Performance of Templates: time 0.009422/0.2797, allocations: 5.371 MB / 378.7 MB, free: 23.96 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.sim & ./Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Digital/Examples/WiredX/WiredX.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches