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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001087/0.001087, allocations: 119.9 kB / 18.42 MB, free: 4.555 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001138/0.001138, allocations: 207.5 kB / 19.36 MB, free: 3.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.362/1.362, allocations: 227.4 MB / 247.5 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 60.28 kB / 308.4 MB, free: 15.91 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09452/0.0958, allocations: 50.54 MB / 358.9 MB, free: 13.36 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002878/0.09872, allocations: 1.826 MB / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001877/0.1006, allocations: 0.9744 MB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/0.1007, allocations: 4 kB / 361.7 MB, free: 10.54 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.1009, allocations: 31.72 kB / 361.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.1009, allocations: 31.72 kB / 361.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000315/0.1013, allocations: 99.56 kB / 361.9 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003449/0.1016, allocations: 319.3 kB / 362.2 MB, free: 10.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.1018, allocations: 49.64 kB / 362.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006514/0.1024, allocations: 0.7213 MB / 362.9 MB, free: 9.293 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.1026, allocations: 147.4 kB / 363.1 MB, free: 9.148 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 5.59e-05/0.1027, allocations: 20 kB / 363.1 MB, free: 9.129 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.02e-05/0.1027, allocations: 24 kB / 363.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.1029, allocations: 139.5 kB / 363.3 MB, free: 8.969 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002044/0.1031, allocations: 238.2 kB / 363.5 MB, free: 8.734 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000569/0.1037, allocations: 0.7512 MB / 364.3 MB, free: 7.98 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.1037, allocations: 0 / 364.3 MB, free: 7.98 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.1037, allocations: 0 / 364.3 MB, free: 7.98 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.614e-06/0.1037, allocations: 7.938 kB / 364.3 MB, free: 7.973 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.001104/0.1048, allocations: 1.165 MB / 365.4 MB, free: 6.707 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.1049, allocations: 11.97 kB / 365.4 MB, free: 6.695 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001027/0.105, allocations: 72.09 kB / 365.5 MB, free: 6.625 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004246/0.1054, allocations: 396.2 kB / 365.9 MB, free: 6.199 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.1054, allocations: 16.56 kB / 365.9 MB, free: 6.184 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.1055, allocations: 20.31 kB / 365.9 MB, free: 6.164 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000476/0.106, allocations: 253.8 kB / 366.2 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.106, allocations: 0 / 366.2 MB, free: 5.91 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.596e-05/0.106, allocations: 16 kB / 366.2 MB, free: 5.895 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1061, allocations: 0 / 366.2 MB, free: 5.895 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002847/0.1063, allocations: 140.2 kB / 366.3 MB, free: 5.758 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001126/0.1075, allocations: 0.7193 MB / 367 MB, free: 4.988 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003414/0.1078, allocations: 206.4 kB / 367.2 MB, free: 4.777 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002793/0.1081, allocations: 176.8 kB / 367.4 MB, free: 4.602 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.691e-05/0.1081, allocations: 7.938 kB / 367.4 MB, free: 4.594 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005313/0.1087, allocations: 385.9 kB / 367.8 MB, free: 4.18 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.583e-06/0.1087, allocations: 0 / 367.8 MB, free: 4.18 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001369/0.1101, allocations: 0.9356 MB / 368.7 MB, free: 3.188 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/0.1102, allocations: 285 kB / 369 MB, free: 2.848 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001161/0.1114, allocations: 0.9491 MB / 370 MB, free: 1.887 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.171e-05/0.1114, allocations: 33.7 kB / 370 MB, free: 1.848 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.285e-05/0.1115, allocations: 138 kB / 370.1 MB, free: 1.707 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.594e-05/0.1116, allocations: 67.19 kB / 370.2 MB, free: 1.641 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.1118, allocations: 161 kB / 370.4 MB, free: 1.477 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.112, allocations: 338.8 kB / 370.7 MB, free: 1.137 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002496/0.1122, allocations: 120.2 kB / 370.8 MB, free: 1.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002651/0.1125, allocations: 166.9 kB / 371 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006387/0.1131, allocations: 0.7068 MB / 371.7 MB, free: 28 kB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1131, allocations: 3.938 kB / 371.7 MB, free: 24 kB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.1519/0.2651, allocations: 0.7455 MB / 372.4 MB, free: 20.05 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.749e-05/0.2652, allocations: 244.7 kB / 372.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.2652, allocations: 1.281 kB / 372.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.686e-05/0.2653, allocations: 3.812 kB / 372.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.568e-05/0.2653, allocations: 10.12 kB / 372.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.2653, allocations: 3.125 kB / 372.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002476/0.2656, allocations: 27.88 kB / 372.7 MB, free: 19.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001258/0.2657, allocations: 110 kB / 372.8 MB, free: 19.8 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.0005467/0.2662, allocations: 0.6178 MB / 373.4 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.773e-05/0.2663, allocations: 76.09 kB / 373.5 MB, free: 19.38 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001635/0.2665, allocations: 125.5 kB / 373.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.2665, allocations: 0.9375 kB / 373.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.2665, allocations: 5.703 kB / 373.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2665, allocations: 4.484 kB / 373.6 MB, free: 19.32 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001643/0.2682, allocations: 1.426 MB / 375.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.2682, allocations: 1.203 kB / 375.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.702e-05/0.2682, allocations: 5.375 kB / 375.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.2682, allocations: 1.219 kB / 375.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.931e-05/0.2683, allocations: 35.77 kB / 375.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.2683, allocations: 2.328 kB / 375.1 MB, free: 18.7 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.444e-06/0.2683, allocations: 3.938 kB / 375.1 MB, free: 18.69 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.2694, allocations: 0.9584 MB / 376.1 MB, free: 18.22 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006068/0.27, allocations: 418.9 kB / 376.5 MB, free: 17.96 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.806e-05/0.2701, allocations: 22.75 kB / 376.5 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.2704, allocations: 20.28 kB / 376.5 MB, free: 17.95 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.2705, allocations: 60.55 kB / 376.6 MB, free: 17.93 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001206/0.2707, allocations: 109.8 kB / 376.7 MB, free: 17.92 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0008367/0.2715, allocations: 0.6874 MB / 377.4 MB, free: 17.58 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2715, allocations: 1.219 kB / 377.4 MB, free: 17.58 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000357/0.2719, allocations: 91.75 kB / 377.5 MB, free: 17.57 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.0001531/0.272, allocations: 147.7 kB / 377.6 MB, free: 17.47 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0007959/0.2728, allocations: 0.8876 MB / 378.5 MB, free: 16.79 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2728, allocations: 0 / 378.5 MB, free: 16.79 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004603/0.2733, allocations: 0.7546 MB / 379.3 MB, free: 16.13 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009137/0.2742, allocations: 271.1 kB / 379.5 MB, free: 16.08 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001607/0.2758, allocations: 1.277 MB / 380.8 MB, free: 15.41 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004323/0.2763, allocations: 0.938 MB / 381.7 MB, free: 14.64 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001768/0.2765, allocations: 91.42 kB / 381.8 MB, free: 14.59 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.04e-05/0.2766, allocations: 50.95 kB / 381.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of SimCode: time 2.9e-07/0.2766, allocations: 0 / 381.9 MB, free: 14.55 MB / 302.1 MB Notification: Performance of Templates: time 0.01351/0.2901, allocations: 9.497 MB / 391.4 MB, free: 11.47 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.makefile (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 gbode -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Digital.Examples.WiredX.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Digital.Examples.WiredX.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches