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.001469/0.001469, allocations: 173.2 kB / 16.76 MB, free: 5.051 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.296/1.296, allocations: 205 MB / 222.5 MB, free: 9.152 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.0006852/0.0006849, allocations: 90.3 kB / 270.5 MB, free: 8.68 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.07412/0.07412, allocations: 12.55 MB / 331 MB, free: 12.09 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003495/0.0003495, allocations: 16.28 kB / 391.7 MB, free: 66.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08772/0.08809, allocations: 49.98 MB / 441.7 MB, free: 16.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.001549/0.08968, allocations: 1.298 MB / 443 MB, free: 15.09 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006475/0.09035, allocations: 0.5308 MB / 443.5 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.297e-05/0.09043, allocations: 8 kB / 443.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.493e-05/0.09049, allocations: 3.938 kB / 443.5 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00012/0.09061, allocations: 11.92 kB / 443.5 MB, free: 14.52 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002433/0.09086, allocations: 39.91 kB / 443.6 MB, free: 14.48 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.174e-05/0.09094, allocations: 51.78 kB / 443.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.019e-05/0.09104, allocations: 16.17 kB / 443.6 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.708e-05/0.0911, allocations: 15.92 kB / 443.7 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.451e-05/0.09116, allocations: 19.88 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.334e-05/0.09118, allocations: 0 / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.113e-05/0.09119, allocations: 4 kB / 443.7 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.09124, allocations: 19.91 kB / 443.7 MB, free: 14.36 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.504e-05/0.09127, allocations: 19.81 kB / 443.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.579e-05/0.09135, allocations: 39.88 kB / 443.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.09136, allocations: 0 / 443.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.09136, allocations: 0 / 443.8 MB, free: 14.3 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.507e-06/0.09137, allocations: 0 / 443.8 MB, free: 14.3 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.0003454/0.09172, allocations: 375.4 kB / 444.1 MB, free: 13.89 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.09176, allocations: 8.031 kB / 444.1 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.149e-05/0.0918, allocations: 8.844 kB / 444.1 MB, free: 13.87 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.09194, allocations: 200.1 kB / 444.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.227e-06/0.09196, allocations: 384 / 444.3 MB, free: 13.64 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.09198, allocations: 4.375 kB / 444.3 MB, free: 13.63 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002305/0.09221, allocations: 126 kB / 444.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.546e-06/0.09223, allocations: 0 / 444.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.09225, allocations: 0 / 444.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.09226, allocations: 0 / 444.5 MB, free: 13.49 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.615e-05/0.09234, allocations: 27.92 kB / 444.5 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002686/0.09261, allocations: 278.6 kB / 444.8 MB, free: 13.13 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.793e-05/0.09272, allocations: 71.78 kB / 444.8 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.448e-05/0.09279, allocations: 42.56 kB / 444.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.92e-05/0.09281, allocations: 0 / 444.9 MB, free: 12.98 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.593e-05/0.09283, allocations: 34.56 kB / 444.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.09284, allocations: 0 / 444.9 MB, free: 12.94 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002364/0.09308, allocations: 89.7 kB / 445 MB, free: 12.85 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.09313, allocations: 118.7 kB / 445.1 MB, free: 12.71 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.29e-05/0.09323, allocations: 137.6 kB / 445.3 MB, free: 12.56 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.506e-06/0.09325, allocations: 25.7 kB / 445.3 MB, free: 12.53 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.323e-05/0.09329, allocations: 100.3 kB / 445.4 MB, free: 12.43 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.09331, allocations: 7.906 kB / 445.4 MB, free: 12.42 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.917e-05/0.09333, allocations: 9.719 kB / 445.4 MB, free: 12.41 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.97e-05/0.09339, allocations: 322.8 kB / 445.7 MB, free: 12.08 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.24e-05/0.09343, allocations: 11.98 kB / 445.7 MB, free: 12.07 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.995e-05/0.09348, allocations: 35.42 kB / 445.8 MB, free: 12.02 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.04e-05/0.09357, allocations: 51.36 kB / 445.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.09358, allocations: 4 kB / 445.8 MB, free: 11.96 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001137/0.0937, allocations: 73.53 kB / 445.9 MB, free: 11.88 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.09372, allocations: 11.94 kB / 445.9 MB, free: 11.87 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.09373, allocations: 3.984 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.208e-05/0.09375, allocations: 3.984 kB / 445.9 MB, free: 11.86 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.076e-05/0.09382, allocations: 11.94 kB / 445.9 MB, free: 11.85 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.09384, allocations: 4 kB / 445.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.867e-05/0.09388, allocations: 4 kB / 445.9 MB, free: 11.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-06/0.09389, allocations: 4.125 kB / 445.9 MB, free: 11.84 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.803e-05/0.09396, allocations: 126.6 kB / 446 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.311e-05/0.09403, allocations: 53.53 kB / 446.1 MB, free: 11.64 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.87e-05/0.09406, allocations: 15.83 kB / 446.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.09407, allocations: 96 / 446.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.09408, allocations: 0 / 446.1 MB, free: 11.63 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.09409, allocations: 7.984 kB / 446.1 MB, free: 11.62 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001186/0.09421, allocations: 169.6 kB / 446.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.09422, allocations: 4.062 kB / 446.3 MB, free: 11.4 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.626e-05/0.09428, allocations: 15.98 kB / 446.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.09429, allocations: 0 / 446.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.915e-06/0.0943, allocations: 0 / 446.3 MB, free: 11.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.09431, allocations: 3.938 kB / 446.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.09432, allocations: 4 kB / 446.3 MB, free: 11.38 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.09446, allocations: 189 kB / 446.5 MB, free: 11.17 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.861e-05/0.09451, allocations: 89 kB / 446.6 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.564e-05/0.09453, allocations: 7.984 kB / 446.6 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.521e-05/0.0946, allocations: 4 kB / 446.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.685e-05/0.09464, allocations: 4 kB / 446.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.09465, allocations: 0 / 446.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.747e-05/0.0947, allocations: 111.2 kB / 446.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09471, allocations: 4 kB / 446.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002098/0.09492, allocations: 7.938 kB / 446.7 MB, free: 10.93 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 7.092e-05/0.095, allocations: 91.25 kB / 446.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001325/0.09513, allocations: 39.92 kB / 446.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.09514, allocations: 0 / 446.9 MB, free: 10.79 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.57e-05/0.09519, allocations: 16.23 kB / 446.9 MB, free: 10.78 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.09555, allocations: 34 kB / 446.9 MB, free: 10.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.09588, allocations: 228.3 kB / 447.1 MB, free: 10.49 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001224/0.09601, allocations: 0.6887 MB / 447.8 MB, free: 9.773 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.756e-05/0.09604, allocations: 11.44 kB / 447.8 MB, free: 9.762 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.09605, allocations: 0 / 447.8 MB, free: 9.762 MB / 298.7 MB Notification: Performance of Templates: time 0.002/0.09806, allocations: 0.8081 MB / 448.6 MB, free: 8.957 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