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.00174/0.00174, allocations: 111.4 kB / 17.98 MB, free: 5.332 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001966/0.001966, allocations: 205.8 kB / 18.92 MB, free: 4.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.442/1.442, allocations: 227.4 MB / 247.1 MB, free: 10.67 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001819/0.001819, allocations: 66.59 kB / 307.1 MB, free: 0.918 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1075/0.1093, allocations: 50.54 MB / 357.7 MB, free: 14.38 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.00314/0.1125, allocations: 1.876 MB / 359.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.00205/0.1146, allocations: 0.9706 MB / 360.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.648e-05/0.1147, allocations: 0 / 360.5 MB, free: 11.51 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001586/0.1148, allocations: 23.84 kB / 360.5 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001023/0.1149, allocations: 27.78 kB / 360.6 MB, free: 11.46 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003334/0.1153, allocations: 83.91 kB / 360.7 MB, free: 11.38 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004151/0.1157, allocations: 315.4 kB / 361 MB, free: 11.07 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.1159, allocations: 49.64 kB / 361 MB, free: 11.02 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008605/0.1167, allocations: 0.737 MB / 361.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.117, allocations: 151.4 kB / 361.9 MB, free: 10.13 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 7.023e-05/0.1171, allocations: 20 kB / 361.9 MB, free: 10.11 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.826e-05/0.1171, allocations: 27.94 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001713/0.1173, allocations: 143.4 kB / 362.1 MB, free: 9.945 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.1176, allocations: 246.2 kB / 362.3 MB, free: 9.703 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000594/0.1182, allocations: 0.6122 MB / 362.9 MB, free: 9.09 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.1182, allocations: 4 kB / 362.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.493e-06/0.1182, allocations: 0 / 362.9 MB, free: 9.086 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.945e-06/0.1182, allocations: 0 / 362.9 MB, free: 9.086 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.001353/0.1196, allocations: 1.165 MB / 364.1 MB, free: 7.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.1196, allocations: 8.031 kB / 364.1 MB, free: 7.812 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000126/0.1198, allocations: 76.09 kB / 364.2 MB, free: 7.738 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.1202, allocations: 404 kB / 364.6 MB, free: 7.305 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.565e-05/0.1203, allocations: 8.562 kB / 364.6 MB, free: 7.297 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.768e-05/0.1203, allocations: 20.38 kB / 364.6 MB, free: 7.277 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005498/0.1209, allocations: 250.2 kB / 364.9 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1209, allocations: 0 / 364.9 MB, free: 7.023 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.462e-05/0.1209, allocations: 11.98 kB / 364.9 MB, free: 7.012 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.121, allocations: 4 kB / 364.9 MB, free: 7.008 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.1213, allocations: 140.9 kB / 365 MB, free: 6.871 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001192/0.1225, allocations: 0.731 MB / 365.7 MB, free: 6.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003799/0.1229, allocations: 202.4 kB / 365.9 MB, free: 5.883 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003137/0.1232, allocations: 176.8 kB / 366.1 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.991e-05/0.1232, allocations: 0 / 366.1 MB, free: 5.707 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006302/0.1239, allocations: 393.1 kB / 366.5 MB, free: 5.289 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.753e-06/0.1239, allocations: 0 / 366.5 MB, free: 5.289 MB / 302.1 MB Notification: Performance of matching and sorting (n=29): time 0.001581/0.1255, allocations: 0.928 MB / 367.4 MB, free: 4.305 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001789/0.1257, allocations: 285 kB / 367.7 MB, free: 3.965 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/0.1269, allocations: 0.9529 MB / 368.6 MB, free: 3 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.527e-05/0.127, allocations: 37.7 kB / 368.7 MB, free: 2.957 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001133/0.1271, allocations: 130 kB / 368.8 MB, free: 2.824 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.736e-05/0.1272, allocations: 63.2 kB / 368.9 MB, free: 2.762 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002262/0.1275, allocations: 165 kB / 369 MB, free: 2.594 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001634/0.1276, allocations: 338.8 kB / 369.4 MB, free: 2.254 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.1279, allocations: 128.2 kB / 369.5 MB, free: 2.129 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002973/0.1282, allocations: 168.7 kB / 369.7 MB, free: 1.953 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007771/0.129, allocations: 0.7027 MB / 370.4 MB, free: 1.137 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.129, allocations: 3.938 kB / 370.4 MB, free: 1.133 MB / 302.1 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001159/0.1302, allocations: 0.7527 MB / 371.1 MB, free: 332 kB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001954/0.1304, allocations: 245.6 kB / 371.4 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.1304, allocations: 0 / 371.4 MB, free: 36 kB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.1304, allocations: 4 kB / 371.4 MB, free: 32 kB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.044e-05/0.1305, allocations: 7.938 kB / 371.4 MB, free: 24 kB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.1305, allocations: 4 kB / 371.4 MB, free: 20 kB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.1647/0.2952, allocations: 31.61 kB / 371.4 MB, free: 20.52 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001858/0.2954, allocations: 105.8 kB / 371.5 MB, free: 20.52 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.0006078/0.296, allocations: 0.6098 MB / 372.1 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000108/0.2962, allocations: 80.16 kB / 372.2 MB, free: 20.11 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001682/0.2963, allocations: 131.3 kB / 372.3 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.2964, allocations: 1.125 kB / 372.3 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.2964, allocations: 4.5 kB / 372.3 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.468e-06/0.2964, allocations: 1.266 kB / 372.3 MB, free: 20.04 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001748/0.2981, allocations: 1.423 MB / 373.8 MB, free: 19.42 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.897e-06/0.2981, allocations: 5.625 kB / 373.8 MB, free: 19.42 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.078e-05/0.2982, allocations: 5.656 kB / 373.8 MB, free: 19.42 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.422e-06/0.2982, allocations: 2.234 kB / 373.8 MB, free: 19.42 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.454e-05/0.2982, allocations: 28.16 kB / 373.8 MB, free: 19.42 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.2982, allocations: 1.781 kB / 373.8 MB, free: 19.42 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2983, allocations: 1.328 kB / 373.8 MB, free: 19.42 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001164/0.2994, allocations: 0.9615 MB / 374.8 MB, free: 19.04 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005098/0.2999, allocations: 418.4 kB / 375.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001054/0.3001, allocations: 20.3 kB / 375.2 MB, free: 18.82 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.3003, allocations: 28.27 kB / 375.2 MB, free: 18.81 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001462/0.3004, allocations: 56.27 kB / 375.3 MB, free: 18.8 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001034/0.3006, allocations: 112.2 kB / 375.4 MB, free: 18.79 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007842/0.3013, allocations: 0.6918 MB / 376.1 MB, free: 18.45 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3014, allocations: 0 / 376.1 MB, free: 18.45 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000397/0.3018, allocations: 93.38 kB / 376.2 MB, free: 18.44 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.000156/0.3019, allocations: 146 kB / 376.3 MB, free: 18.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008326/0.3028, allocations: 0.8898 MB / 377.2 MB, free: 17.65 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3028, allocations: 0 / 377.2 MB, free: 17.65 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004869/0.3033, allocations: 0.7484 MB / 377.9 MB, free: 16.99 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001048/0.3043, allocations: 284.8 kB / 378.2 MB, free: 16.94 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.3061, allocations: 1.566 MB / 379.8 MB, free: 16 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.3066, allocations: 0.948 MB / 380.7 MB, free: 15.23 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.3067, allocations: 59.08 kB / 380.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.3067, allocations: 0 / 380.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of Templates: time 0.008073/0.3148, allocations: 5.374 MB / 386.2 MB, free: 14.12 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 -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.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) Reference file matches