Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.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.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated") translateModel(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="Time|sample.y|superSampleIpo.y",fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002089/0.002089, allocations: 177.8 kB / 8.406 MB, free: 0.6719 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.047/2.047, allocations: 205.3 MB / 214.1 MB, free: 1.66 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001113/0.001112, allocations: 78.7 kB / 262.1 MB, free: 1.613 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.1028/0.1028, allocations: 12.6 MB / 322.7 MB, free: 15.19 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.401e-05/2.397e-05, allocations: 4 kB / 378.9 MB, free: 6.883 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3249/0.3249, allocations: 50.37 MB / 429.3 MB, free: 18.42 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1735/0.4985, allocations: 77.76 MB / 0.4952 GB, free: 4.547 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/0.4989, allocations: 75.95 kB / 0.4952 GB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01498/0.5139, allocations: 3.235 MB / 0.4984 GB, free: 1.234 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5139, allocations: 0 / 0.4984 GB, free: 1.234 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.464e-05/0.514, allocations: 0 / 0.4984 GB, free: 1.234 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0006282/0.5146, allocations: 386.2 kB / 0.4988 GB, free: 0.8125 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.884e-05/0.5147, allocations: 8.031 kB / 0.4988 GB, free: 0.8047 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.413e-05/0.5147, allocations: 11.91 kB / 0.4988 GB, free: 0.793 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003182/0.515, allocations: 195.9 kB / 0.499 GB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.5151, allocations: 7.984 kB / 0.499 GB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.39e-05/0.5151, allocations: 4 kB / 0.499 GB, free: 0.5508 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001842/0.5153, allocations: 43.97 kB / 0.499 GB, free: 0.5078 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004517/0.5158, allocations: 183.2 kB / 0.4992 GB, free: 316 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.5158, allocations: 4 kB / 0.4992 GB, free: 312 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.5158, allocations: 0 / 0.4992 GB, free: 312 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.5159, allocations: 0 / 0.4992 GB, free: 312 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005166/0.5164, allocations: 283 kB / 0.4995 GB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.5166, allocations: 79.92 kB / 0.4995 GB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.999e-05/0.5167, allocations: 46.62 kB / 0.4996 GB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.5167, allocations: 4 kB / 0.4996 GB, free: 15.82 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.018e-05/0.5168, allocations: 30.56 kB / 0.4996 GB, free: 15.78 MB / 362.7 MB Notification: Performance of pre-optimization done (n=11): time 2.194e-06/0.5168, allocations: 0 / 0.4996 GB, free: 15.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003235/0.5171, allocations: 97.42 kB / 0.4997 GB, free: 15.68 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.239e-05/0.5172, allocations: 110.8 kB / 0.4998 GB, free: 15.55 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001657/0.5174, allocations: 127.2 kB / 0.4999 GB, free: 15.42 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/0.5174, allocations: 29.64 kB / 0.5 GB, free: 15.38 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.864e-05/0.5175, allocations: 162.5 kB / 0.5001 GB, free: 15.22 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.835e-05/0.5176, allocations: 11.91 kB / 0.5001 GB, free: 15.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.931e-06/0.5176, allocations: 0 / 0.5001 GB, free: 15.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001451/0.5178, allocations: 322.8 kB / 0.5004 GB, free: 14.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.216e-05/0.5178, allocations: 20 kB / 0.5005 GB, free: 14.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.5179, allocations: 81.45 kB / 0.5005 GB, free: 14.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.608e-05/0.518, allocations: 27.92 kB / 0.5006 GB, free: 14.73 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.297e-06/0.518, allocations: 0 / 0.5006 GB, free: 14.73 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002526/0.5183, allocations: 105.7 kB / 0.5007 GB, free: 14.62 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.397e-05/0.5183, allocations: 11.94 kB / 0.5007 GB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.835e-06/0.5184, allocations: 0 / 0.5007 GB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.5184, allocations: 4 kB / 0.5007 GB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002125/0.5186, allocations: 23.98 kB / 0.5007 GB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.07e-05/0.5186, allocations: 4 kB / 0.5007 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/0.5188, allocations: 4.125 kB / 0.5007 GB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/0.5188, allocations: 15.94 kB / 0.5007 GB, free: 14.55 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 5 (superSampleIpo.ticks,$CLKPRE.superSampleIpo.ticks,superSampleIpo.usedFactor,superSampleIpo.first,$CLKPRE.superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 0.0001169/0.5189, allocations: 117 kB / 0.5008 GB, free: 14.43 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002035/0.5191, allocations: 89.47 kB / 0.5009 GB, free: 14.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.555e-05/0.5192, allocations: 16.39 kB / 0.5009 GB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.5193, allocations: 0 / 0.5009 GB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.5193, allocations: 4 kB / 0.5009 GB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.06e-06/0.5193, allocations: 0 / 0.5009 GB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002373/0.5195, allocations: 162.1 kB / 0.5011 GB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5196, allocations: 0 / 0.5011 GB, free: 14.12 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001967/0.5198, allocations: 19.98 kB / 0.5011 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.629e-06/0.5198, allocations: 0 / 0.5011 GB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.5198, allocations: 11.98 kB / 0.5011 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5198, allocations: 0 / 0.5011 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/0.5198, allocations: 0 / 0.5011 GB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000309/0.5202, allocations: 228.5 kB / 0.5013 GB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.5203, allocations: 100.9 kB / 0.5014 GB, free: 13.72 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.5203, allocations: 4 kB / 0.5014 GB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001467/0.5205, allocations: 7.984 kB / 0.5015 GB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.703e-05/0.5205, allocations: 0 / 0.5015 GB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.509e-05/0.5206, allocations: 4 kB / 0.5015 GB, free: 13.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001065/0.5207, allocations: 108 kB / 0.5016 GB, free: 13.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5207, allocations: 0 / 0.5016 GB, free: 13.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003623/0.5211, allocations: 15.95 kB / 0.5016 GB, free: 13.58 MB / 362.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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 0.000146/0.5212, allocations: 107.1 kB / 0.5017 GB, free: 13.46 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.5214, allocations: 51.94 kB / 0.5017 GB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.5215, allocations: 0 / 0.5017 GB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.497e-05/0.5215, allocations: 4 kB / 0.5017 GB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004224/0.5219, allocations: 51.77 kB / 0.5018 GB, free: 13.36 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000494/0.5224, allocations: 172.7 kB / 0.5019 GB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000318/0.5228, allocations: 0.7119 MB / 0.5026 GB, free: 12.41 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.023e-05/0.5228, allocations: 11.44 kB / 0.5027 GB, free: 12.41 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.5229, allocations: 0 / 0.5027 GB, free: 12.41 MB / 362.7 MB Notification: Performance of Templates: time 0.003728/0.5266, allocations: 1.137 MB / 0.5038 GB, free: 11.28 MB / 362.7 MB make -j1 -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.makefile (rm -f Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & ./Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated --alarm=480 -emit_protected > Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.mat","../files/Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches