Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="hold.y|sample.y|shiftSample.y|time",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001282/0.001282, allocations: 175 kB / 16.77 MB, free: 4.898 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.466/1.466, allocations: 205.4 MB / 222.9 MB, free: 8.93 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.000725/0.0007251, allocations: 92.78 kB / 271.3 MB, free: 8.23 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.06765/0.06765, allocations: 12.61 MB / 332.2 MB, free: 11.23 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004016/0.0004016, allocations: 16 kB / 392.6 MB, free: 66.55 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07498/0.0754, allocations: 50.37 MB / 443 MB, free: 16.12 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.001667/0.07711, allocations: 1.524 MB / 444.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008176/0.07794, allocations: 0.617 MB / 445.1 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.07807, allocations: 7.938 kB / 445.1 MB, free: 13.95 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.07821, allocations: 15.86 kB / 445.1 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001018/0.07832, allocations: 15.84 kB / 445.1 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.07861, allocations: 83.86 kB / 445.2 MB, free: 13.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001306/0.07875, allocations: 131.5 kB / 445.4 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001348/0.07889, allocations: 53.7 kB / 445.4 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.47e-05/0.07897, allocations: 39.73 kB / 445.4 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.037e-05/0.07905, allocations: 47.7 kB / 445.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.305e-05/0.07908, allocations: 4 kB / 445.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.452e-05/0.0791, allocations: 0 / 445.5 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.665e-05/0.07915, allocations: 15.92 kB / 445.5 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.356e-05/0.0792, allocations: 73.33 kB / 445.6 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.132e-05/0.07929, allocations: 92.09 kB / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.781e-06/0.0793, allocations: 0 / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.512e-06/0.07931, allocations: 0 / 445.7 MB, free: 13.38 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.288e-06/0.07932, allocations: 4 kB / 445.7 MB, free: 13.38 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004606/0.07979, allocations: 431 kB / 446.1 MB, free: 12.91 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.443e-05/0.07983, allocations: 12.03 kB / 446.1 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.108e-05/0.07987, allocations: 20.66 kB / 446.1 MB, free: 12.88 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.08008, allocations: 240.8 kB / 446.4 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.544e-05/0.08011, allocations: 12.12 kB / 446.4 MB, free: 12.59 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.742e-05/0.08013, allocations: 12 kB / 446.4 MB, free: 12.58 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000464/0.0806, allocations: 297.9 kB / 446.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.227e-06/0.08062, allocations: 0 / 446.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.413e-05/0.08064, allocations: 0 / 446.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.08065, allocations: 4 kB / 446.7 MB, free: 12.26 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001807/0.08084, allocations: 87.89 kB / 446.8 MB, free: 12.17 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003509/0.0812, allocations: 431.3 kB / 447.2 MB, free: 11.69 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003609/0.08157, allocations: 302.1 kB / 447.5 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001522/0.08173, allocations: 116.4 kB / 447.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.979e-05/0.08178, allocations: 4 kB / 447.6 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.948e-05/0.08181, allocations: 46.48 kB / 447.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.232e-06/0.08181, allocations: 0 / 447.6 MB, free: 11.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004746/0.08229, allocations: 233.5 kB / 447.9 MB, free: 10.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.788e-05/0.08237, allocations: 199.9 kB / 448.1 MB, free: 10.67 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001245/0.0825, allocations: 175 kB / 448.2 MB, free: 10.49 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.481e-05/0.08253, allocations: 33.69 kB / 448.3 MB, free: 10.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.559e-05/0.08258, allocations: 96.14 kB / 448.4 MB, free: 10.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.88e-05/0.0826, allocations: 15.89 kB / 448.4 MB, free: 10.34 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.492e-06/0.08261, allocations: 8.094 kB / 448.4 MB, free: 10.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.604e-05/0.08268, allocations: 322.8 kB / 448.7 MB, free: 10 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.581e-05/0.08274, allocations: 23.98 kB / 448.7 MB, free: 9.98 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.859e-05/0.08283, allocations: 145.2 kB / 448.9 MB, free: 9.789 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001404/0.08298, allocations: 157.6 kB / 449 MB, free: 9.586 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.08299, allocations: 0 / 449 MB, free: 9.586 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002125/0.08321, allocations: 165.2 kB / 449.2 MB, free: 9.418 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.08323, allocations: 7.938 kB / 449.2 MB, free: 9.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.08325, allocations: 7.938 kB / 449.2 MB, free: 9.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.805e-05/0.08327, allocations: 4.5 kB / 449.2 MB, free: 9.398 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001139/0.08339, allocations: 39.98 kB / 449.2 MB, free: 9.359 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.003e-05/0.08341, allocations: 11.88 kB / 449.3 MB, free: 9.348 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.691e-05/0.0835, allocations: 19.83 kB / 449.3 MB, free: 9.328 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.08352, allocations: 12 kB / 449.3 MB, free: 9.316 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 8.234e-05/0.08361, allocations: 137.5 kB / 449.4 MB, free: 9.172 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002354/0.08385, allocations: 153.3 kB / 449.6 MB, free: 9.016 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.091e-05/0.0839, allocations: 25.41 kB / 449.6 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.0839, allocations: 0 / 449.6 MB, free: 8.988 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.08392, allocations: 8 kB / 449.6 MB, free: 8.98 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.08392, allocations: 3.984 kB / 449.6 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001995/0.08413, allocations: 213.5 kB / 449.8 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.08414, allocations: 480 / 449.8 MB, free: 8.719 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00012/0.08426, allocations: 47.94 kB / 449.9 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.08427, allocations: 3.938 kB / 449.9 MB, free: 8.668 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.219e-05/0.08429, allocations: 8.234 kB / 449.9 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.0843, allocations: 0 / 449.9 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.08431, allocations: 7.938 kB / 449.9 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003015/0.08461, allocations: 369.1 kB / 450.2 MB, free: 8.266 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.33e-05/0.08469, allocations: 108.8 kB / 450.4 MB, free: 8.141 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.444e-05/0.08472, allocations: 11.94 kB / 450.4 MB, free: 8.129 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001321/0.08485, allocations: 16 kB / 450.4 MB, free: 8.113 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.596e-05/0.0849, allocations: 7.984 kB / 450.4 MB, free: 8.105 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.08491, allocations: 4 kB / 450.4 MB, free: 8.102 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.034e-05/0.08499, allocations: 137.1 kB / 450.5 MB, free: 7.969 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.08499, allocations: 0 / 450.5 MB, free: 7.969 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002956/0.08529, allocations: 23.91 kB / 450.5 MB, free: 7.945 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 8.794e-05/0.08539, allocations: 107.2 kB / 450.7 MB, free: 7.832 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002442/0.08564, allocations: 108.7 kB / 450.8 MB, free: 7.727 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.08565, allocations: 0 / 450.8 MB, free: 7.727 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.257e-05/0.0857, allocations: 24.05 kB / 450.8 MB, free: 7.703 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006582/0.08636, allocations: 103.6 kB / 450.9 MB, free: 7.602 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007028/0.08708, allocations: 446.1 kB / 451.3 MB, free: 7.121 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001421/0.08723, allocations: 0.728 MB / 452 MB, free: 6.367 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.732e-05/0.08728, allocations: 19.44 kB / 452.1 MB, free: 6.352 MB / 298.7 MB Notification: Performance of SimCode: time 2.2e-07/0.08728, allocations: 0 / 452.1 MB, free: 6.352 MB / 298.7 MB Notification: Performance of Templates: time 0.002686/0.08997, allocations: 1.739 MB / 453.8 MB, free: 4.605 MB / 298.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1 --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches