Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 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 ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSample.y",fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009721/0.0009722, allocations: 173.8 kB / 16.8 MB, free: 5.008 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.508/1.508, allocations: 205.4 MB / 223 MB, free: 8.926 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009183/0.0009183, allocations: 85.19 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1014/0.1014, allocations: 12.59 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003853, allocations: 19.94 kB / 393.3 MB, free: 65.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0698/0.0702, allocations: 50.37 MB / 443.7 MB, free: 15.44 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.001498/0.07174, allocations: 1.301 MB / 445 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006989/0.07246, allocations: 0.5152 MB / 445.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.335e-05/0.07258, allocations: 4 kB / 445.5 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.351e-05/0.07263, allocations: 3.938 kB / 445.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001231/0.07276, allocations: 7.938 kB / 445.5 MB, free: 13.59 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002678/0.07303, allocations: 59.88 kB / 445.6 MB, free: 13.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.077e-05/0.07312, allocations: 39.8 kB / 445.6 MB, free: 13.49 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.723e-05/0.07322, allocations: 20.16 kB / 445.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.746e-05/0.0733, allocations: 19.92 kB / 445.7 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.878e-05/0.07336, allocations: 19.86 kB / 445.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.576e-05/0.07338, allocations: 4 kB / 445.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.178e-05/0.07339, allocations: 0 / 445.7 MB, free: 13.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.573e-05/0.07345, allocations: 15.92 kB / 445.7 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.267e-05/0.07349, allocations: 45.52 kB / 445.7 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.404e-05/0.07356, allocations: 35.94 kB / 445.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.07357, allocations: 0 / 445.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.07357, allocations: 0 / 445.8 MB, free: 13.32 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.476e-06/0.07358, allocations: 0 / 445.8 MB, free: 13.32 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003495/0.07394, allocations: 371.5 kB / 446.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.291e-05/0.07398, allocations: 11.97 kB / 446.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.83e-05/0.07403, allocations: 8.844 kB / 446.2 MB, free: 12.89 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001531/0.07419, allocations: 215.9 kB / 446.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.05e-05/0.07421, allocations: 384 / 446.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.127e-05/0.07423, allocations: 8.375 kB / 446.4 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.07447, allocations: 118 kB / 446.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.07449, allocations: 0 / 446.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.255e-06/0.0745, allocations: 0 / 446.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-06/0.07451, allocations: 4 kB / 446.5 MB, free: 12.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.032e-05/0.0746, allocations: 27.92 kB / 446.5 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002538/0.07486, allocations: 274.6 kB / 446.8 MB, free: 12.14 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.596e-05/0.07495, allocations: 71.78 kB / 446.9 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.724e-05/0.07502, allocations: 38.62 kB / 446.9 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.07505, allocations: 0 / 446.9 MB, free: 12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.481e-05/0.07507, allocations: 34.5 kB / 446.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.51e-07/0.07507, allocations: 0 / 446.9 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002422/0.07532, allocations: 93.61 kB / 447 MB, free: 11.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.07536, allocations: 106.8 kB / 447.1 MB, free: 11.73 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.04e-05/0.07546, allocations: 145.6 kB / 447.3 MB, free: 11.58 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.664e-06/0.07547, allocations: 25.7 kB / 447.3 MB, free: 11.55 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.809e-05/0.07551, allocations: 88.42 kB / 447.4 MB, free: 11.46 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.335e-05/0.07553, allocations: 11.91 kB / 447.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.07554, allocations: 0 / 447.4 MB, free: 11.45 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.126e-05/0.07558, allocations: 326.7 kB / 447.7 MB, free: 11.12 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.181e-05/0.07563, allocations: 8 kB / 447.7 MB, free: 11.11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.011e-05/0.07568, allocations: 35.42 kB / 447.8 MB, free: 11.06 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.938e-05/0.07577, allocations: 55.36 kB / 447.8 MB, free: 11 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.07578, allocations: 0 / 447.8 MB, free: 11 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001174/0.0759, allocations: 81.52 kB / 447.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.07592, allocations: 4 kB / 447.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.07593, allocations: 3.938 kB / 447.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.07595, allocations: 4 kB / 447.9 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.165e-05/0.07602, allocations: 11.98 kB / 447.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.07604, allocations: 0 / 447.9 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.234e-05/0.07608, allocations: 4 kB / 447.9 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.063e-06/0.0761, allocations: 4.125 kB / 447.9 MB, free: 10.88 MB / 298.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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 5.765e-05/0.07616, allocations: 126.6 kB / 448 MB, free: 10.75 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.388e-05/0.07623, allocations: 49.59 kB / 448.1 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.884e-05/0.07627, allocations: 15.83 kB / 448.1 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.825e-06/0.07628, allocations: 3.984 kB / 448.1 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.07628, allocations: 4 kB / 448.1 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.07629, allocations: 0 / 448.1 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.07641, allocations: 177.5 kB / 448.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.07642, allocations: 64 / 448.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.996e-05/0.07649, allocations: 19.92 kB / 448.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.0765, allocations: 0 / 448.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.07651, allocations: 0 / 448.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.07652, allocations: 4 kB / 448.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.07652, allocations: 0 / 448.3 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001386/0.07667, allocations: 185.1 kB / 448.5 MB, free: 10.22 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.799e-05/0.07671, allocations: 96.94 kB / 448.6 MB, free: 10.11 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.486e-05/0.07674, allocations: 8.141 kB / 448.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.757e-05/0.07681, allocations: 0 / 448.6 MB, free: 10.1 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.462e-05/0.07684, allocations: 11.97 kB / 448.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-06/0.07685, allocations: 0 / 448.6 MB, free: 10.09 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.744e-05/0.0769, allocations: 107.3 kB / 448.7 MB, free: 9.98 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.07691, allocations: 4 kB / 448.7 MB, free: 9.977 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002068/0.07712, allocations: 7.938 kB / 448.7 MB, free: 9.969 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 6.385e-05/0.07719, allocations: 99.23 kB / 448.8 MB, free: 9.863 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001256/0.07732, allocations: 35.92 kB / 448.9 MB, free: 9.828 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.07733, allocations: 0 / 448.9 MB, free: 9.828 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.584e-05/0.07737, allocations: 12.25 kB / 448.9 MB, free: 9.816 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003388/0.07772, allocations: 29.36 kB / 448.9 MB, free: 9.789 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003178/0.07805, allocations: 244.4 kB / 449.1 MB, free: 9.512 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.07816, allocations: 0.6887 MB / 449.8 MB, free: 8.797 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.505e-05/0.07819, allocations: 11.44 kB / 449.8 MB, free: 8.785 MB / 298.7 MB Notification: Performance of SimCode: time 3.81e-07/0.0782, allocations: 0 / 449.8 MB, free: 8.785 MB / 298.7 MB Notification: Performance of Templates: time 0.00181/0.08002, allocations: 0.8158 MB / 450.6 MB, free: 7.973 MB / 298.7 MB make -j1 -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.makefile (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & ./Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches