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.DLATREGL.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: "" <> buildModelFMU(Modelica.Electrical.Digital.Examples.DLATREGL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Digital_Examples_DLATREGL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.197/2.197, allocations: 194.8 MB / 211.1 MB, free: 7.594 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005077/0.0005077, allocations: 15.98 kB / 264.1 MB, free: 2.508 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3135/0.314, allocations: 44.49 MB / 308.6 MB, free: 12.67 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.4536, allocations: 77.84 MB / 386.4 MB, free: 14.72 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002893/0.454, allocations: 67.97 kB / 386.5 MB, free: 14.65 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3652/0.8192, allocations: 33.21 MB / 419.7 MB, free: 94.39 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.276e-06/0.8192, allocations: 0.5 kB / 419.7 MB, free: 94.39 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.407e-05/0.8193, allocations: 12.44 kB / 419.7 MB, free: 94.39 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.002575/0.8219, allocations: 1.13 MB / 420.8 MB, free: 93.68 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.426e-05/0.822, allocations: 14.34 kB / 420.8 MB, free: 93.67 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002972/0.8223, allocations: 58.05 kB / 420.9 MB, free: 93.63 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003081/0.8226, allocations: 86.56 kB / 421 MB, free: 93.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001266/0.8239, allocations: 416.2 kB / 421.4 MB, free: 93.32 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.968e-05/0.8241, allocations: 16.28 kB / 421.4 MB, free: 93.32 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001575/0.8242, allocations: 28.47 kB / 421.4 MB, free: 93.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001781/0.826, allocations: 0.4921 MB / 421.9 MB, free: 93.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.8261, allocations: 0 / 421.9 MB, free: 93.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001188/0.8262, allocations: 13.44 kB / 421.9 MB, free: 93.29 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.8263, allocations: 3.047 kB / 421.9 MB, free: 93.29 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.8277, allocations: 370.8 kB / 422.3 MB, free: 93.29 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003193/0.8309, allocations: 0.9188 MB / 423.2 MB, free: 92.96 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00163/0.8326, allocations: 0.5037 MB / 423.7 MB, free: 92.93 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.585e-05/0.8327, allocations: 7.953 kB / 423.7 MB, free: 92.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001786/0.8345, allocations: 0.6336 MB / 424.4 MB, free: 92.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=32): time 4.108e-06/0.8346, allocations: 0.8438 kB / 424.4 MB, free: 92.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=32): time 0.005154/0.8397, allocations: 1.749 MB / 426.1 MB, free: 92.16 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002317/0.84, allocations: 282.5 kB / 426.4 MB, free: 91.88 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003363/0.8434, allocations: 1.025 MB / 427.4 MB, free: 91.6 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000263/0.8437, allocations: 45.27 kB / 427.5 MB, free: 91.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.8439, allocations: 144.2 kB / 427.6 MB, free: 91.48 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000217/0.8441, allocations: 74.8 kB / 427.7 MB, free: 91.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.074e-05/0.8442, allocations: 9.938 kB / 427.7 MB, free: 91.44 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.8444, allocations: 344.5 kB / 428 MB, free: 91.13 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.8454, allocations: 341.8 kB / 428.3 MB, free: 91.04 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007921/0.8462, allocations: 381.9 kB / 428.7 MB, free: 90.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007361/0.847, allocations: 0.4886 MB / 429.2 MB, free: 90.56 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.828e-06/0.847, allocations: 0 / 429.2 MB, free: 90.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.002252/0.8493, allocations: 1.115 MB / 430.3 MB, free: 90.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001973/0.8495, allocations: 249.8 kB / 430.6 MB, free: 89.8 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.608e-06/0.8495, allocations: 0 / 430.6 MB, free: 89.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.974e-05/0.8496, allocations: 3.938 kB / 430.6 MB, free: 89.8 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.576e-05/0.8496, allocations: 7.562 kB / 430.6 MB, free: 89.8 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/0.8496, allocations: 0 / 430.6 MB, free: 89.8 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006044/0.8502, allocations: 43.84 kB / 430.6 MB, free: 89.79 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/0.8505, allocations: 121.2 kB / 430.7 MB, free: 89.79 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 36 ($PRE.dLATREGL.delay.inertialDelaySensitive[2].y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,$PRE.dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,$PRE.dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 7 * 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.001294/0.8518, allocations: 0.7645 MB / 431.5 MB, free: 89.29 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002348/0.852, allocations: 90.19 kB / 431.6 MB, free: 89.25 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004272/0.8525, allocations: 155.4 kB / 431.7 MB, free: 89.16 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.8525, allocations: 3.531 kB / 431.7 MB, free: 89.16 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.116e-06/0.8525, allocations: 3.891 kB / 431.8 MB, free: 89.16 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.8525, allocations: 4 kB / 431.8 MB, free: 89.15 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003683/0.8562, allocations: 1.929 MB / 433.7 MB, free: 88.13 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.913e-06/0.8563, allocations: 0 / 433.7 MB, free: 88.13 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.189e-05/0.8563, allocations: 11.02 kB / 433.7 MB, free: 88.13 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.053e-06/0.8563, allocations: 3.422 kB / 433.7 MB, free: 88.13 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-05/0.8564, allocations: 38.31 kB / 433.7 MB, free: 88.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.8564, allocations: 0 / 433.7 MB, free: 88.12 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.8564, allocations: 0 / 433.7 MB, free: 88.12 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002653/0.8591, allocations: 1.381 MB / 435.1 MB, free: 87.02 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00132/0.8605, allocations: 0.5538 MB / 435.7 MB, free: 86.54 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002383/0.8607, allocations: 62.66 kB / 435.7 MB, free: 86.49 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005452/0.8613, allocations: 38.06 kB / 435.8 MB, free: 86.46 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005654/0.8619, allocations: 234.5 kB / 436 MB, free: 86.3 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001889/0.8621, allocations: 131.5 kB / 436.1 MB, free: 86.18 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001679/0.8638, allocations: 0.8611 MB / 437 MB, free: 85.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.1e-07/0.8638, allocations: 0 / 437 MB, free: 85.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0007774/0.8646, allocations: 120 kB / 437.1 MB, free: 85.33 MB / 346.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: 32 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,enable.y,data_0.y,reset.y,data_1.y,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].y_old,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[2].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].y_old,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.dLATR.dataIn[1],dLATREGL.dLATR.dataIn[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.enable_flag,dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.next_assign_val[2]) * Number of discrete states: 30 (enable.y,data_0.y,reset.y,data_1.y,dLATREGL.dLATR.dataOut[2],dLATREGL.dLATR.dataOut[1],dLATREGL.dLATR.next_assign_val[2],dLATREGL.dLATR.next_assign_val[1],dLATREGL.dLATR.nextstate[2],dLATREGL.dLATR.nextstate[1],dLATREGL.dLATR.reset_flag,dLATREGL.dLATR.enable_flag,dLATREGL.delay.inertialDelaySensitive[1].y,dLATREGL.delay.inertialDelaySensitive[1].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[1].t_next,dLATREGL.delay.inertialDelaySensitive[1].delayTime,dLATREGL.delay.inertialDelaySensitive[1].lh,dLATREGL.delay.inertialDelaySensitive[1].y_old,$whenCondition4,$whenCondition3,dLATREGL.delay.inertialDelaySensitive[1].x,dLATREGL.delay.inertialDelaySensitive[2].y,dLATREGL.delay.inertialDelaySensitive[2].y_auxiliary,dLATREGL.delay.inertialDelaySensitive[2].t_next,dLATREGL.delay.inertialDelaySensitive[2].delayTime,dLATREGL.delay.inertialDelaySensitive[2].lh,dLATREGL.delay.inertialDelaySensitive[2].y_old,$whenCondition2,$whenCondition1,dLATREGL.delay.inertialDelaySensitive[2].x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 7 * 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 Backend phase and start with SimCode phase: time 0.00379/0.8684, allocations: 2.008 MB / 439.1 MB, free: 83.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003089/0.8715, allocations: 1.531 MB / 440.6 MB, free: 81.95 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.8715, allocations: 0 / 440.6 MB, free: 81.95 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.8734, allocations: 1.157 MB / 441.8 MB, free: 80.79 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002204/0.8756, allocations: 260 kB / 442.1 MB, free: 80.57 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01399/0.8897, allocations: 4.806 MB / 446.9 MB, free: 75.7 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001213/0.8909, allocations: 1.038 MB / 447.9 MB, free: 74.64 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0002591/0.8912, allocations: 29.42 kB / 447.9 MB, free: 74.62 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001573/0.8914, allocations: 71.41 kB / 448 MB, free: 74.55 MB / 346.7 MB Notification: Performance of SimCode: time 1.062e-06/0.8914, allocations: 0 / 448 MB, free: 74.55 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06277/0.9542, allocations: 15.43 MB / 463.4 MB, free: 59 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002602/0.9545, allocations: 175.1 kB / 463.6 MB, free: 58.75 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.859/3.814, allocations: 0 / 463.6 MB, free: 58.75 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Digital.Examples.DLATREGL_res.mat does not exist to compare? outputFormat=mat