Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo", uses=false) Using package Modelica_Synchronous with version 0.93.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|filter.y|inverseBlockConstraints.y1|mixingUnit.c|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit") translateModel(Modelica_Synchronous.Examples.Systems.ControlledMixingUnit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|filter.y|inverseBlockConstraints.y1|mixingUnit.c|sample2.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008393/0.0008393, allocations: 103 kB / 16.07 MB, free: 32 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009009/0.0009009, allocations: 181.8 kB / 16.96 MB, free: 6.875 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.207/1.207, allocations: 205.4 MB / 223.1 MB, free: 5.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.06027/0.06027, allocations: 12.6 MB / 284 MB, free: 8.574 MB / 238.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica_Synchronous requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006315/0.0006315, allocations: 20 kB / 345.2 MB, free: 20.9 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06896/0.0696, allocations: 50.39 MB / 395.5 MB, free: 2.426 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Systems.ControlledMixingUnit): time 0.002057/0.0717, allocations: 1.903 MB / 397.4 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008499/0.07257, allocations: 0.6207 MB / 398.1 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.882e-05/0.07267, allocations: 4 kB / 398.1 MB, free: 15.87 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 8.307e-05/0.07276, allocations: 19.78 kB / 398.1 MB, free: 15.85 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002192/0.07298, allocations: 59.62 kB / 398.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001984/0.07319, allocations: 55.88 kB / 398.2 MB, free: 15.74 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.07345, allocations: 274.7 kB / 398.5 MB, free: 15.47 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000123/0.07358, allocations: 60.94 kB / 398.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001324/0.07372, allocations: 107.4 kB / 398.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.07387, allocations: 135.2 kB / 398.8 MB, free: 15.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.07391, allocations: 8 kB / 398.8 MB, free: 15.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.63e-05/0.07394, allocations: 12 kB / 398.8 MB, free: 15.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 6.347e-05/0.07401, allocations: 51.69 kB / 398.8 MB, free: 15.11 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 9.798e-05/0.07411, allocations: 144.7 kB / 399 MB, free: 14.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000193/0.07431, allocations: 235.2 kB / 399.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.07432, allocations: 0 / 399.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.07433, allocations: 0 / 399.2 MB, free: 14.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.07434, allocations: 0 / 399.2 MB, free: 14.73 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.0009042/0.07525, allocations: 0.5803 MB / 399.8 MB, free: 14.1 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.058e-05/0.07528, allocations: 8.031 kB / 399.8 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.763e-05/0.07535, allocations: 36.56 kB / 399.8 MB, free: 14.06 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003037/0.07566, allocations: 312.3 kB / 400.1 MB, free: 13.71 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.492e-05/0.07568, allocations: 16.41 kB / 400.2 MB, free: 13.7 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.239e-05/0.07572, allocations: 16 kB / 400.2 MB, free: 13.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005385/0.07626, allocations: 388.7 kB / 400.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.07628, allocations: 0 / 400.5 MB, free: 13.28 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.702e-05/0.07634, allocations: 8 kB / 400.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.07636, allocations: 4 kB / 400.6 MB, free: 13.27 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002031/0.07656, allocations: 95.89 kB / 400.7 MB, free: 13.17 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005674/0.07714, allocations: 0.5325 MB / 401.2 MB, free: 12.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005933/0.07775, allocations: 311.9 kB / 401.5 MB, free: 12.25 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002005/0.07796, allocations: 146.5 kB / 401.6 MB, free: 12.1 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.07799, allocations: 4.641 kB / 401.6 MB, free: 12.09 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.07802, allocations: 42.5 kB / 401.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of pre-optimization done (n=29): time 1.393e-06/0.07803, allocations: 0 / 401.7 MB, free: 12.04 MB / 302.1 MB Notification: Performance of matching and sorting (n=40): time 0.002037/0.08007, allocations: 1.331 MB / 403 MB, free: 10.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.94e-05/0.08018, allocations: 142.8 kB / 403.2 MB, free: 10.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003408/0.08053, allocations: 328.6 kB / 403.5 MB, free: 10.12 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.648e-05/0.08057, allocations: 33.7 kB / 403.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.403e-05/0.08066, allocations: 145.1 kB / 403.6 MB, free: 9.938 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.194e-05/0.08072, allocations: 51.53 kB / 403.7 MB, free: 9.887 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.08077, allocations: 37.69 kB / 403.7 MB, free: 9.844 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001183/0.08089, allocations: 350.8 kB / 404.1 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.08103, allocations: 76.83 kB / 404.2 MB, free: 9.418 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002624/0.0813, allocations: 314.8 kB / 404.5 MB, free: 8.984 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000408/0.08172, allocations: 424.9 kB / 404.9 MB, free: 8.449 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.08173, allocations: 7.938 kB / 404.9 MB, free: 8.441 MB / 302.1 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0005571/0.08229, allocations: 417.3 kB / 405.3 MB, free: 8.027 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.08232, allocations: 16.06 kB / 405.3 MB, free: 8.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.025e-05/0.08234, allocations: 8 kB / 405.3 MB, free: 8.004 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.048e-05/0.08236, allocations: 12 kB / 405.3 MB, free: 7.992 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.08261, allocations: 91.83 kB / 405.4 MB, free: 7.902 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.364e-05/0.08263, allocations: 15.94 kB / 405.4 MB, free: 7.887 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002032/0.08284, allocations: 23.98 kB / 405.5 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.335e-05/0.08287, allocations: 24 kB / 405.5 MB, free: 7.84 MB / 302.1 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.0001448/0.08302, allocations: 177.5 kB / 405.7 MB, free: 7.656 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004169/0.08344, allocations: 288.8 kB / 405.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005724/0.08402, allocations: 384.3 kB / 406.3 MB, free: 6.984 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.08404, allocations: 7.984 kB / 406.3 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.08405, allocations: 0 / 406.3 MB, free: 6.977 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.665e-06/0.08406, allocations: 7.984 kB / 406.3 MB, free: 6.969 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003254/0.08439, allocations: 321.3 kB / 406.6 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.0844, allocations: 0 / 406.6 MB, free: 6.605 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005272/0.08494, allocations: 127.8 kB / 406.8 MB, free: 6.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.08495, allocations: 7.938 kB / 406.8 MB, free: 6.473 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/0.08498, allocations: 8 kB / 406.8 MB, free: 6.465 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.08499, allocations: 4 kB / 406.8 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.08499, allocations: 0 / 406.8 MB, free: 6.461 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009056/0.0859, allocations: 0.7265 MB / 407.5 MB, free: 5.715 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.273e-05/0.086, allocations: 120.6 kB / 407.6 MB, free: 5.578 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.708e-05/0.08605, allocations: 15.94 kB / 407.6 MB, free: 5.562 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002325/0.08629, allocations: 11.98 kB / 407.7 MB, free: 5.551 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.79e-05/0.08633, allocations: 8 kB / 407.7 MB, free: 5.543 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.899e-05/0.08635, allocations: 11.98 kB / 407.7 MB, free: 5.531 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002302/0.08659, allocations: 255.1 kB / 407.9 MB, free: 5.285 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.08659, allocations: 0 / 407.9 MB, free: 5.285 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003933/0.08699, allocations: 60 kB / 408 MB, free: 5.227 MB / 302.1 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 9.652e-05/0.08709, allocations: 103.2 kB / 408.1 MB, free: 5.117 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.00045/0.08755, allocations: 296.6 kB / 408.4 MB, free: 4.828 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.08756, allocations: 4 kB / 408.4 MB, free: 4.824 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.775e-05/0.08764, allocations: 33.48 kB / 408.4 MB, free: 4.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006707/0.08832, allocations: 217.9 kB / 408.6 MB, free: 4.582 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.08952, allocations: 0.9058 MB / 409.5 MB, free: 3.645 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003308/0.08986, allocations: 0.8117 MB / 410.3 MB, free: 2.809 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.312e-05/0.08996, allocations: 39.27 kB / 410.4 MB, free: 2.77 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.326e-05/0.09005, allocations: 31.44 kB / 410.4 MB, free: 2.738 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.09005, allocations: 0 / 410.4 MB, free: 2.738 MB / 302.1 MB Notification: Performance of Templates: time 0.006204/0.09626, allocations: 3.261 MB / 413.7 MB, free: 15.48 MB / 318.1 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.makefile Environment - environmentSimulation: (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Systems.ControlledMixingUnit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches