Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Running command: translateModel(Modelica.Electrical.Digital.Examples.WiredX,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|wiredX.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.Digital.Examples.WiredX") Notification: Performance of loadModel(Modelica): time 2.058/2.058, allocations: 194.8 MB / 211.7 MB, free: 3.02 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003669/0.0003671, allocations: 12 kB / 264.5 MB, free: 12.96 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0934/0.09379, allocations: 44.51 MB / 309.1 MB, free: 388 kB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Digital.Examples.WiredX): time 0.002475/0.09632, allocations: 1.434 MB / 310.5 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002857/0.0992, allocations: 0.9449 MB / 311.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.567e-05/0.09929, allocations: 0 / 311.4 MB, free: 13.98 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.09945, allocations: 23.78 kB / 311.5 MB, free: 13.96 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001219/0.09958, allocations: 31.89 kB / 311.5 MB, free: 13.93 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003715/0.09996, allocations: 67.84 kB / 311.6 MB, free: 13.86 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003034/0.1003, allocations: 155.7 kB / 311.7 MB, free: 13.71 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001474/0.1004, allocations: 41.84 kB / 311.8 MB, free: 13.67 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008746/0.1013, allocations: 0.5264 MB / 312.3 MB, free: 13.14 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002648/0.1016, allocations: 151.6 kB / 312.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001002/0.1017, allocations: 11.98 kB / 312.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.977e-05/0.1018, allocations: 8 kB / 312.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001829/0.102, allocations: 135.6 kB / 312.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000147/0.1022, allocations: 121.3 kB / 312.7 MB, free: 12.71 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007449/0.1029, allocations: 0.5923 MB / 313.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.103, allocations: 0 / 313.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.103, allocations: 0 / 313.3 MB, free: 12.12 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.103, allocations: 0 / 313.3 MB, free: 12.12 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.001405/0.1044, allocations: 1.044 MB / 314.3 MB, free: 10.98 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.1045, allocations: 8.031 kB / 314.3 MB, free: 10.97 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001704/0.1046, allocations: 83.02 kB / 314.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006079/0.1053, allocations: 355.7 kB / 314.8 MB, free: 10.5 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.273e-05/0.1053, allocations: 16.19 kB / 314.8 MB, free: 10.48 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.516e-05/0.1054, allocations: 20 kB / 314.8 MB, free: 10.46 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007982/0.1062, allocations: 243.2 kB / 315 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.1062, allocations: 0 / 315 MB, free: 10.22 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.329e-05/0.1063, allocations: 12 kB / 315.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.1063, allocations: 4 kB / 315.1 MB, free: 10.21 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005008/0.1068, allocations: 136.5 kB / 315.2 MB, free: 10.07 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001713/0.1086, allocations: 0.7432 MB / 315.9 MB, free: 9.281 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005883/0.1092, allocations: 202.4 kB / 316.1 MB, free: 9.074 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.1092, allocations: 4 kB / 316.1 MB, free: 9.07 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008369/0.1101, allocations: 385.9 kB / 316.5 MB, free: 8.656 MB / 266.7 MB Notification: Performance of pre-optimization done (n=29): time 2.314e-06/0.1101, allocations: 0 / 316.5 MB, free: 8.656 MB / 266.7 MB Notification: Performance of matching and sorting (n=29): time 0.002714/0.1128, allocations: 1.245 MB / 317.8 MB, free: 7.281 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001912/0.113, allocations: 281 kB / 318 MB, free: 6.945 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.1151, allocations: 0.949 MB / 319 MB, free: 5.984 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001257/0.1152, allocations: 37.7 kB / 319 MB, free: 5.941 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.1154, allocations: 126 kB / 319.1 MB, free: 5.812 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.1155, allocations: 71.19 kB / 319.2 MB, free: 5.742 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.426e-05/0.1156, allocations: 12 kB / 319.2 MB, free: 5.73 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000167/0.1158, allocations: 330.8 kB / 319.5 MB, free: 5.398 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004606/0.1162, allocations: 128.2 kB / 319.7 MB, free: 5.273 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004884/0.1168, allocations: 159.8 kB / 319.8 MB, free: 5.105 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005915/0.1174, allocations: 349.5 kB / 320.2 MB, free: 4.715 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.1174, allocations: 3.938 kB / 320.2 MB, free: 4.711 MB / 266.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001929/0.1193, allocations: 0.745 MB / 320.9 MB, free: 3.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002315/0.1196, allocations: 253.5 kB / 321.2 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.1196, allocations: 0 / 321.2 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.806e-05/0.1196, allocations: 0 / 321.2 MB, free: 3.613 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.815e-05/0.1197, allocations: 11.98 kB / 321.2 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.1197, allocations: 0 / 321.2 MB, free: 3.602 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004783/0.1202, allocations: 47.92 kB / 321.2 MB, free: 3.555 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001932/0.1204, allocations: 108.1 kB / 321.3 MB, free: 3.449 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,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,e_table2.y,x_table2.y,bUF3S2.nextstate,bUF3S2.yy,$PRE.bUF3S2.inertialDelaySensitive.x,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,$PRE.bUF3S1.inertialDelaySensitive.x,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.auxiliary[1],wiredX.auxiliary[2],wiredX.y,$PRE.wiredX.auxiliary[2]) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001025/0.1214, allocations: 0.6084 MB / 321.9 MB, free: 2.781 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001599/0.1216, allocations: 75.16 kB / 322 MB, free: 2.707 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003028/0.1219, allocations: 126.8 kB / 322.1 MB, free: 2.578 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.803e-06/0.1219, allocations: 11.92 kB / 322.1 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.1219, allocations: 0 / 322.1 MB, free: 2.566 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009628/0.1229, allocations: 415.7 kB / 322.6 MB, free: 2.141 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001901/0.1231, allocations: 24 kB / 322.6 MB, free: 2.117 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.1235, allocations: 27.97 kB / 322.6 MB, free: 2.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002446/0.1238, allocations: 59.92 kB / 322.7 MB, free: 2.031 MB / 266.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002208/0.126, allocations: 1.322 MB / 324 MB, free: 0.5547 MB / 266.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002128/0.1282, allocations: 1.038 MB / 325 MB, free: 15.45 MB / 282.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006758/0.1289, allocations: 303.9 kB / 325.3 MB, free: 15.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.001524/0.1304, allocations: 0.6899 MB / 326 MB, free: 14.46 MB / 282.7 MB Notification: Performance of Backend: time 7.32e-07/0.1304, allocations: 0 / 326 MB, free: 14.46 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.1319, allocations: 0.8313 MB / 326.8 MB, free: 13.53 MB / 282.7 MB Notification: Performance of SimCode: time 0.004111/0.136, allocations: 2.317 MB / 329.2 MB, free: 11.07 MB / 282.7 MB Notification: Performance of Templates: time 0.01894/0.155, allocations: 7.361 MB / 336.5 MB, free: 3.684 MB / 282.7 MB "" Variables in the reference:time,wiredX.y Variables in the result:bUF3S1.inertialDelaySensitive.tHL,bUF3S1.inertialDelaySensitive.tLH,bUF3S1.inertialDelaySensitive.y0,bUF3S1.strength,bUF3S1.tHL,bUF3S1.tLH,bUF3S2.inertialDelaySensitive.tHL,bUF3S2.inertialDelaySensitive.tLH,bUF3S2.inertialDelaySensitive.y0,bUF3S2.strength,bUF3S2.tHL,bUF3S2.tLH,e_table1.n,e_table1.t[1],e_table1.t[2],e_table1.t[3],e_table1.x[1],e_table1.x[2],e_table1.x[3],e_table1.y0,e_table2.n,e_table2.t[1],e_table2.t[2],e_table2.t[3],e_table2.x[1],e_table2.x[2],e_table2.x[3],e_table2.y0,time,wiredX.n,wiredX.y,x_table1.n,x_table1.t[1],x_table1.t[2],x_table1.t[3],x_table1.x[1],x_table1.x[2],x_table1.x[3],x_table1.y0,x_table2.n,x_table2.t[1],x_table2.t[2],x_table2.x[1],x_table2.x[2],x_table2.y0