Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_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: "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated,fileNamePrefix="Modelica_Synchronous_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.001621/0.001621, allocations: 177.4 kB / 15.82 MB, free: 6.305 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.603/1.603, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.0008465/0.0008466, allocations: 94.3 kB / 270.3 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1122/0.1122, allocations: 12.59 MB / 331.2 MB, free: 10.3 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000459/0.0004591, allocations: 20.42 kB / 392.1 MB, free: 54.85 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09897/0.09946, allocations: 50.38 MB / 442.5 MB, free: 10.84 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.001584/0.1011, allocations: 1.299 MB / 443.8 MB, free: 9.523 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007906/0.1019, allocations: 0.5701 MB / 444.4 MB, free: 8.945 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.351e-05/0.102, allocations: 3.938 kB / 444.4 MB, free: 8.941 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.07e-05/0.1021, allocations: 4 kB / 444.4 MB, free: 8.938 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.1023, allocations: 23.84 kB / 444.4 MB, free: 8.914 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002256/0.1025, allocations: 63.88 kB / 444.5 MB, free: 8.852 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 9.066e-05/0.1026, allocations: 71.75 kB / 444.5 MB, free: 8.781 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.187e-05/0.1027, allocations: 12.23 kB / 444.6 MB, free: 8.77 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.708e-05/0.1028, allocations: 27.86 kB / 444.6 MB, free: 8.742 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.229e-05/0.1028, allocations: 35.83 kB / 444.6 MB, free: 8.707 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.1029, allocations: 0 / 444.6 MB, free: 8.707 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.384e-05/0.1029, allocations: 4 kB / 444.6 MB, free: 8.703 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.017e-05/0.1029, allocations: 15.92 kB / 444.6 MB, free: 8.688 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.685e-05/0.103, allocations: 45.62 kB / 444.7 MB, free: 8.637 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 6.885e-05/0.103, allocations: 56.45 kB / 444.7 MB, free: 8.582 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.103, allocations: 3.938 kB / 444.7 MB, free: 8.578 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.1031, allocations: 4 kB / 444.7 MB, free: 8.574 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1031, allocations: 0 / 444.7 MB, free: 8.574 MB / 282.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.0004385/0.1035, allocations: 387.2 kB / 445.1 MB, free: 8.148 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1036, allocations: 8.031 kB / 445.1 MB, free: 8.141 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.212e-05/0.1036, allocations: 38.56 kB / 445.2 MB, free: 8.094 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.1036, allocations: 11.81 kB / 445.2 MB, free: 8.082 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001515/0.1038, allocations: 210.8 kB / 445.4 MB, free: 7.836 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.1038, allocations: 4 kB / 445.4 MB, free: 7.832 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.328e-05/0.1038, allocations: 8 kB / 445.4 MB, free: 7.824 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004009/0.1043, allocations: 225.6 kB / 445.6 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.1043, allocations: 0 / 445.6 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1043, allocations: 0 / 445.6 MB, free: 7.582 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1043, allocations: 3.938 kB / 445.6 MB, free: 7.578 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001554/0.1045, allocations: 51.91 kB / 445.7 MB, free: 7.527 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002525/0.1047, allocations: 294.5 kB / 446 MB, free: 7.184 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001541/0.1049, allocations: 99.77 kB / 446.1 MB, free: 7.059 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.806e-05/0.105, allocations: 62.73 kB / 446.1 MB, free: 6.988 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.2e-05/0.105, allocations: 4 kB / 446.1 MB, free: 6.984 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.549e-05/0.105, allocations: 30.56 kB / 446.1 MB, free: 6.945 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.292e-06/0.105, allocations: 3.938 kB / 446.2 MB, free: 6.941 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0003534/0.1054, allocations: 157.5 kB / 446.3 MB, free: 6.781 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.1055, allocations: 115.2 kB / 446.4 MB, free: 6.645 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.321e-05/0.1056, allocations: 153.5 kB / 446.6 MB, free: 6.484 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.1056, allocations: 25.7 kB / 446.6 MB, free: 6.453 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.73e-05/0.1056, allocations: 92.05 kB / 446.7 MB, free: 6.359 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.575e-05/0.1056, allocations: 15.89 kB / 446.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.1056, allocations: 128 / 446.7 MB, free: 6.344 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 4.395e-05/0.1057, allocations: 322.8 kB / 447 MB, free: 6.02 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.586e-05/0.1057, allocations: 19.98 kB / 447 MB, free: 6 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.389e-05/0.1058, allocations: 99.11 kB / 447.1 MB, free: 5.871 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.702e-05/0.1059, allocations: 32 kB / 447.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1059, allocations: 0 / 447.2 MB, free: 5.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001855/0.1061, allocations: 133.3 kB / 447.3 MB, free: 5.703 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.1061, allocations: 11.31 kB / 447.3 MB, free: 5.695 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.1061, allocations: 8 kB / 447.3 MB, free: 5.688 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.1062, allocations: 4 kB / 447.3 MB, free: 5.684 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001096/0.1063, allocations: 31.92 kB / 447.3 MB, free: 5.652 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.1063, allocations: 7.938 kB / 447.4 MB, free: 5.645 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.632e-05/0.1064, allocations: 15.94 kB / 447.4 MB, free: 5.629 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.1064, allocations: 7.938 kB / 447.4 MB, free: 5.621 MB / 282.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 7.015e-05/0.1064, allocations: 133.5 kB / 447.5 MB, free: 5.48 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001543/0.1066, allocations: 97.56 kB / 447.6 MB, free: 5.379 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.551e-05/0.1067, allocations: 20.31 kB / 447.6 MB, free: 5.355 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1067, allocations: 0 / 447.6 MB, free: 5.355 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.548e-06/0.1067, allocations: 0 / 447.6 MB, free: 5.355 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1067, allocations: 11.94 kB / 447.6 MB, free: 5.344 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001265/0.1068, allocations: 181.5 kB / 447.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.1068, allocations: 0 / 447.8 MB, free: 5.117 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001078/0.1069, allocations: 31.92 kB / 447.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1069, allocations: 0 / 447.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.107, allocations: 0 / 447.8 MB, free: 5.086 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.107, allocations: 4 kB / 447.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.107, allocations: 0 / 447.8 MB, free: 5.082 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002743/0.1072, allocations: 237 kB / 448.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.84e-05/0.1073, allocations: 96.94 kB / 448.2 MB, free: 4.715 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.1073, allocations: 7.984 kB / 448.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.502e-05/0.1074, allocations: 8 kB / 448.2 MB, free: 4.699 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.895e-05/0.1075, allocations: 4 kB / 448.2 MB, free: 4.695 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.825e-06/0.1075, allocations: 7.984 kB / 448.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.101e-05/0.1075, allocations: 107.2 kB / 448.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1075, allocations: 0 / 448.3 MB, free: 4.582 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002307/0.1078, allocations: 16 kB / 448.3 MB, free: 4.566 MB / 282.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.0004996/0.1083, allocations: 0.8118 MB / 449.1 MB, free: 3.723 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001976/0.1085, allocations: 84.41 kB / 449.2 MB, free: 3.641 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.073e-06/0.1085, allocations: 7.938 kB / 449.2 MB, free: 3.633 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.493e-05/0.1086, allocations: 11.98 kB / 449.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004079/0.109, allocations: 63.69 kB / 449.3 MB, free: 3.562 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.11, allocations: 0.7205 MB / 450 MB, free: 2.754 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.1101, allocations: 0.7045 MB / 450.7 MB, free: 2.023 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.049e-05/0.1102, allocations: 4.562 kB / 450.7 MB, free: 2.02 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.938e-05/0.1103, allocations: 35.42 kB / 450.8 MB, free: 1.988 MB / 282.7 MB Notification: Performance of SimCode: time 2.3e-07/0.1103, allocations: 0 / 450.8 MB, free: 1.988 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01243/0.1227, allocations: 1.969 MB / 452.7 MB, free: 28 kB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004263/0.1232, allocations: 225.3 kB / 452.9 MB, free: 15.79 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/1.754, allocations: 3.953 kB / 453 MB, free: 15.78 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated_fmu --startTime=0 --stopTime=0.06 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSampleInterpolated.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated_res.mat does not exist to compare? outputFormat=mat