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/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/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: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009139/0.0009139, allocations: 175.6 kB / 16.77 MB, free: 4.922 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.21/1.21, allocations: 205.4 MB / 222.9 MB, free: 9.012 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.0007782/0.0007782, allocations: 94.41 kB / 271.3 MB, free: 8.234 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0/package.mo): time 0.05888/0.05888, allocations: 12.2 MB / 331.8 MB, free: 11.64 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003765/0.0003766, allocations: 20 kB / 392.2 MB, free: 66.89 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07384/0.07423, allocations: 50.29 MB / 442.5 MB, free: 16.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001257/0.07552, allocations: 1.29 MB / 443.8 MB, free: 15.25 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006113/0.07615, allocations: 0.5623 MB / 444.4 MB, free: 14.68 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.664e-05/0.07623, allocations: 7.938 kB / 444.4 MB, free: 14.67 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 2.638e-05/0.07626, allocations: 3.938 kB / 444.4 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001877/0.07646, allocations: 23.91 kB / 444.4 MB, free: 14.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000211/0.07667, allocations: 63.86 kB / 444.5 MB, free: 14.58 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.868e-05/0.07677, allocations: 71.77 kB / 444.5 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.741e-05/0.07686, allocations: 8.234 kB / 444.5 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.698e-05/0.07695, allocations: 35.84 kB / 444.6 MB, free: 14.46 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.045e-05/0.07701, allocations: 35.84 kB / 444.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.07703, allocations: 4 kB / 444.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.07705, allocations: 0 / 444.6 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 3.461e-05/0.07709, allocations: 23.91 kB / 444.6 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.305e-05/0.07714, allocations: 57.5 kB / 444.7 MB, free: 14.34 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 6.568e-05/0.07721, allocations: 51.83 kB / 444.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.07722, allocations: 0 / 444.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.395e-06/0.07723, allocations: 4 kB / 444.7 MB, free: 14.29 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.116e-06/0.07724, allocations: 0 / 444.7 MB, free: 14.29 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0004692/0.07771, allocations: 395.4 kB / 445.1 MB, free: 13.85 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.505e-05/0.07775, allocations: 8.031 kB / 445.1 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.282e-05/0.07779, allocations: 42.69 kB / 445.2 MB, free: 13.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.07782, allocations: 12.75 kB / 445.2 MB, free: 13.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.07797, allocations: 208 kB / 445.4 MB, free: 13.54 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.798e-05/0.078, allocations: 8.375 kB / 445.4 MB, free: 13.53 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.07802, allocations: 8.375 kB / 445.4 MB, free: 13.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003853/0.07841, allocations: 225.8 kB / 445.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.07843, allocations: 0 / 445.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.819e-06/0.07844, allocations: 4 kB / 445.6 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.07845, allocations: 8 kB / 445.6 MB, free: 13.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.07861, allocations: 55.89 kB / 445.7 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002264/0.07884, allocations: 294.4 kB / 446 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001605/0.07901, allocations: 103.9 kB / 446.1 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.384e-05/0.07911, allocations: 58.62 kB / 446.1 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.283e-05/0.07914, allocations: 7.969 kB / 446.1 MB, free: 12.67 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.245e-05/0.07916, allocations: 42.5 kB / 446.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.07917, allocations: 0 / 446.2 MB, free: 12.62 MB / 298.7 MB Notification: Performance of matching and sorting (n=11): time 0.000342/0.07951, allocations: 149.5 kB / 446.3 MB, free: 12.46 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.07956, allocations: 114.8 kB / 446.4 MB, free: 12.33 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.785e-05/0.07965, allocations: 141.7 kB / 446.6 MB, free: 12.18 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.806e-06/0.07967, allocations: 25.7 kB / 446.6 MB, free: 12.15 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.39e-05/0.07969, allocations: 96.12 kB / 446.7 MB, free: 12.05 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.07971, allocations: 15.75 kB / 446.7 MB, free: 12.04 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.07972, allocations: 4 kB / 446.7 MB, free: 12.03 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.823e-05/0.07977, allocations: 322.8 kB / 447 MB, free: 11.71 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.125e-05/0.07982, allocations: 23.98 kB / 447.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.196e-05/0.07989, allocations: 89.38 kB / 447.1 MB, free: 11.56 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001157/0.08001, allocations: 125.3 kB / 447.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.08002, allocations: 0 / 447.3 MB, free: 11.41 MB / 298.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001748/0.0802, allocations: 133.6 kB / 447.4 MB, free: 11.27 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.211e-05/0.08022, allocations: 12.61 kB / 447.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.08023, allocations: 0 / 447.4 MB, free: 11.26 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.08025, allocations: 4 kB / 447.4 MB, free: 11.25 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.43e-05/0.08035, allocations: 27.92 kB / 447.4 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.08036, allocations: 4 kB / 447.4 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.788e-05/0.08042, allocations: 8 kB / 447.5 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.356e-06/0.08044, allocations: 8 kB / 447.5 MB, free: 11.21 MB / 298.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 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.first,superSampleIpo.uu) * 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 6.146e-05/0.0805, allocations: 149.4 kB / 447.6 MB, free: 11.05 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001506/0.08066, allocations: 97.48 kB / 447.7 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.0807, allocations: 12.31 kB / 447.7 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.08071, allocations: 4 kB / 447.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.885e-06/0.08071, allocations: 0 / 447.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.08072, allocations: 0 / 447.7 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000117/0.08084, allocations: 189.6 kB / 447.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.08085, allocations: 0.625 kB / 447.9 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.941e-05/0.08095, allocations: 23.92 kB / 447.9 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.08096, allocations: 4 kB / 447.9 MB, free: 10.67 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.016e-05/0.08098, allocations: 7.984 kB / 447.9 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.08099, allocations: 4 kB / 447.9 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.08099, allocations: 4 kB / 447.9 MB, free: 10.66 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002247/0.08122, allocations: 225 kB / 448.2 MB, free: 10.41 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.393e-05/0.08127, allocations: 105 kB / 448.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.739e-05/0.0813, allocations: 3.938 kB / 448.3 MB, free: 10.29 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.678e-05/0.08139, allocations: 8 kB / 448.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.52e-05/0.08142, allocations: 4 kB / 448.3 MB, free: 10.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.356e-06/0.08144, allocations: 7.984 kB / 448.3 MB, free: 10.27 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.379e-05/0.08148, allocations: 103.3 kB / 448.4 MB, free: 10.17 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.08149, allocations: 0 / 448.4 MB, free: 10.17 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002252/0.08172, allocations: 16 kB / 448.4 MB, free: 10.15 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: 3 (superSampleIpo.usedFactor,superSampleIpo.ticks,superSampleIpo.first) * Number of discrete states: 0 () * Number of clocked states: 3 (superSampleIpo.ticks,superSampleIpo.uu,superSampleIpo.first) * 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.0004949/0.08222, allocations: 0.8153 MB / 449.2 MB, free: 9.305 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001762/0.08241, allocations: 88.09 kB / 449.3 MB, free: 9.219 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.08242, allocations: 0 / 449.3 MB, free: 9.219 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.38e-05/0.08246, allocations: 8 kB / 449.3 MB, free: 9.211 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.08284, allocations: 60.92 kB / 449.4 MB, free: 9.152 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009681/0.08382, allocations: 0.7535 MB / 450.1 MB, free: 8.305 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.08396, allocations: 0.7044 MB / 450.8 MB, free: 7.574 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.823e-05/0.08401, allocations: 31.36 kB / 450.9 MB, free: 7.543 MB / 298.7 MB Notification: Performance of SimCode: time 2.11e-07/0.08402, allocations: 192 / 450.9 MB, free: 7.543 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.348/2.432, allocations: 1.432 MB / 452.3 MB, free: 6.113 MB / 298.7 MB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_cpp_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_cpp_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > 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) "" Variables in the reference:Time,sample.y,superSampleIpo.y Variables in the result:periodicClock.factor,periodicClock.resolution,periodicClock.resolutionFactor,periodicClock.useSolver,previous(superSampleIpo.first),previous(superSampleIpo.ticks),previous(superSampleIpo.uu),sample.u,sample.y,sine.amplitude,sine.freqHz,sine.offset,sine.phase,sine.startTime,sine.y,superSampleIpo.factor,superSampleIpo.first,superSampleIpo.inferFactor,superSampleIpo.ticks,superSampleIpo.u,superSampleIpo.u_pre,superSampleIpo.u_preSuper,superSampleIpo.u_super,superSampleIpo.usedFactor,superSampleIpo.uu,superSampleIpo.y,time