Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") translateModel(Modelica.Clocked.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|filter.x.1.|filter.x.2.|filter.x.3.|invMixingUnit.c|invMixingUnit.T|mixingUnit.c|mixingUnit.T",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001182/0.001182, allocations: 198.7 kB / 17.43 MB, free: 4.27 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.573/1.573, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008778/0.0008778, allocations: 100.9 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002683/0.0002684, allocations: 8 kB / 360.6 MB, free: 8.477 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2376, allocations: 51.41 MB / 412 MB, free: 25.89 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Systems.ControlledMixingUnit): time 0.001986/0.2396, allocations: 1.858 MB / 413.9 MB, free: 24.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001084/0.2408, allocations: 0.7266 MB / 414.6 MB, free: 23.26 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001662/0.2409, allocations: 0 / 414.6 MB, free: 23.26 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.2411, allocations: 15.8 kB / 414.6 MB, free: 23.25 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002761/0.2414, allocations: 70.58 kB / 414.7 MB, free: 23.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000252/0.2416, allocations: 63.86 kB / 414.8 MB, free: 23.12 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000254/0.2419, allocations: 259.1 kB / 415 MB, free: 22.86 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001595/0.2421, allocations: 69.97 kB / 415.1 MB, free: 22.79 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002072/0.2423, allocations: 107.4 kB / 415.2 MB, free: 22.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001685/0.2425, allocations: 127.2 kB / 415.3 MB, free: 22.56 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.895e-05/0.2425, allocations: 12 kB / 415.3 MB, free: 22.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.066e-05/0.2425, allocations: 8 kB / 415.3 MB, free: 22.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.16e-05/0.2426, allocations: 51.64 kB / 415.4 MB, free: 22.49 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.391e-05/0.2427, allocations: 144.8 kB / 415.5 MB, free: 22.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001789/0.2429, allocations: 236.5 kB / 415.8 MB, free: 22.11 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.2429, allocations: 0 / 415.8 MB, free: 22.11 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2429, allocations: 0 / 415.8 MB, free: 22.11 MB / 298.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.2429, allocations: 0 / 415.8 MB, free: 22.11 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0008986/0.2438, allocations: 0.5726 MB / 416.3 MB, free: 21.49 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.2439, allocations: 8.031 kB / 416.3 MB, free: 21.48 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.509e-05/0.2439, allocations: 32.56 kB / 416.4 MB, free: 21.45 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003499/0.2443, allocations: 320.3 kB / 416.7 MB, free: 21.1 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.2443, allocations: 16.41 kB / 416.7 MB, free: 21.09 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.895e-05/0.2444, allocations: 15.91 kB / 416.7 MB, free: 21.07 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005262/0.2449, allocations: 367 kB / 417.1 MB, free: 20.69 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.2449, allocations: 3.984 kB / 417.1 MB, free: 20.69 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.722e-05/0.245, allocations: 4 kB / 417.1 MB, free: 20.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.245, allocations: 4 kB / 417.1 MB, free: 20.68 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001744/0.2451, allocations: 95.89 kB / 417.2 MB, free: 20.59 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.2457, allocations: 0.5287 MB / 417.7 MB, free: 20 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005685/0.2463, allocations: 319.7 kB / 418 MB, free: 19.66 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001747/0.2465, allocations: 138.7 kB / 418.2 MB, free: 19.52 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.052e-05/0.2465, allocations: 15.92 kB / 418.2 MB, free: 19.5 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.2466, allocations: 38.56 kB / 418.2 MB, free: 19.45 MB / 298.7 MB Notification: Performance of pre-optimization done (n=29): time 1.643e-06/0.2466, allocations: 0 / 418.2 MB, free: 19.45 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001878/0.2484, allocations: 1.332 MB / 419.5 MB, free: 18.03 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.692e-05/0.2485, allocations: 134.7 kB / 419.7 MB, free: 17.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002663/0.2488, allocations: 324.6 kB / 420 MB, free: 17.55 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.2488, allocations: 29.83 kB / 420 MB, free: 17.52 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.906e-05/0.2489, allocations: 149.1 kB / 420.2 MB, free: 17.37 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.072e-05/0.2489, allocations: 51.47 kB / 420.2 MB, free: 17.32 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.052e-05/0.2489, allocations: 12 kB / 420.2 MB, free: 17.3 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.148e-05/0.249, allocations: 346.8 kB / 420.6 MB, free: 16.96 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001158/0.2491, allocations: 76.77 kB / 420.6 MB, free: 16.88 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001757/0.2493, allocations: 318.7 kB / 421 MB, free: 16.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003095/0.2496, allocations: 413 kB / 421.4 MB, free: 15.93 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.2497, allocations: 7.938 kB / 421.4 MB, free: 15.92 MB / 298.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0004958/0.2502, allocations: 408.6 kB / 421.8 MB, free: 15.51 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.2502, allocations: 8 kB / 421.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.2502, allocations: 8.875 kB / 421.8 MB, free: 15.5 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.26e-05/0.2502, allocations: 12 kB / 421.8 MB, free: 15.48 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002264/0.2505, allocations: 99.84 kB / 421.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.2505, allocations: 15.92 kB / 421.9 MB, free: 15.37 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002037/0.2507, allocations: 31.84 kB / 421.9 MB, free: 15.34 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.154e-05/0.2507, allocations: 24 kB / 422 MB, free: 15.32 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 (filter.x[1],invMixingUnit.T,invMixingUnit.c,$DER.filter.x[1],$DER.invMixingUnit.c,$DER.invMixingUnit.T) * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * 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.0001225/0.2509, allocations: 165.6 kB / 422.1 MB, free: 15.14 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003674/0.2512, allocations: 294 kB / 422.4 MB, free: 14.85 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005023/0.2517, allocations: 375.5 kB / 422.8 MB, free: 14.48 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.711e-06/0.2518, allocations: 7.984 kB / 422.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.2518, allocations: 0 / 422.8 MB, free: 14.47 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.2518, allocations: 4 kB / 422.8 MB, free: 14.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003082/0.2521, allocations: 325.2 kB / 423.1 MB, free: 14.1 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.887e-06/0.2521, allocations: 3.938 kB / 423.1 MB, free: 14.09 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005049/0.2526, allocations: 127.8 kB / 423.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.982e-06/0.2526, allocations: 0 / 423.2 MB, free: 13.97 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.698e-05/0.2527, allocations: 19.98 kB / 423.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.128e-06/0.2527, allocations: 4 kB / 423.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.684e-06/0.2527, allocations: 0 / 423.3 MB, free: 13.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00077/0.2535, allocations: 0.7184 MB / 424 MB, free: 13.2 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.094e-05/0.2535, allocations: 112.7 kB / 424.1 MB, free: 13.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.021e-05/0.2536, allocations: 19.98 kB / 424.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.2538, allocations: 8 kB / 424.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/0.2539, allocations: 7.984 kB / 424.1 MB, free: 13.04 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.982e-05/0.2539, allocations: 12 kB / 424.1 MB, free: 13.03 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001875/0.2541, allocations: 239.1 kB / 424.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of sort global known variables: time 2.5e-07/0.2541, allocations: 0 / 424.4 MB, free: 12.8 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0003831/0.2545, allocations: 64 kB / 424.4 MB, free: 12.73 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (mixingUnit.c,mixingUnit.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 6 ($DER.invMixingUnit.T,$DER.invMixingUnit.c,$DER.filter.x[1],invMixingUnit.c,invMixingUnit.T,filter.x[1]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * 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.0001076/0.2546, allocations: 123.2 kB / 424.6 MB, free: 12.61 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004351/0.255, allocations: 301.8 kB / 424.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.255, allocations: 4 kB / 424.9 MB, free: 12.31 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.842e-05/0.2551, allocations: 24 kB / 424.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006617/0.2558, allocations: 228.2 kB / 425.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001119/0.2569, allocations: 0.8893 MB / 426 MB, free: 11.14 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001886/0.2571, allocations: 0.8071 MB / 426.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 9.47e-05/0.2572, allocations: 39.27 kB / 426.8 MB, free: 10.27 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.123e-05/0.2573, allocations: 31.44 kB / 426.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of SimCode: time 7.21e-07/0.2573, allocations: 0 / 426.9 MB, free: 10.24 MB / 298.7 MB Notification: Performance of Templates: time 0.006176/0.2635, allocations: 3.242 MB / 430.1 MB, free: 6.996 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Systems/ControlledMixingUnit/ControlledMixingUnit.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches