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.002739/0.002745, allocations: 185.9 kB / 15.81 MB, free: 6.344 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.405/2.405, 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.001174/0.001173, allocations: 90.91 kB / 270.3 MB, free: 13.36 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.1189/0.1189, allocations: 12.58 MB / 331.1 MB, free: 10.31 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006725/0.0006726, allocations: 17.5 kB / 392.1 MB, free: 54.84 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1022/0.1029, allocations: 50.37 MB / 442.5 MB, free: 10.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSampleInterpolated): time 0.002062/0.105, allocations: 1.295 MB / 443.8 MB, free: 9.539 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001212/0.1063, allocations: 0.5709 MB / 444.3 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001089/0.1065, allocations: 0 / 444.3 MB, free: 8.961 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 3.931e-05/0.1065, allocations: 3.938 kB / 444.3 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002678/0.1068, allocations: 23.91 kB / 444.4 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000368/0.1072, allocations: 65.67 kB / 444.4 MB, free: 8.871 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001227/0.1073, allocations: 39.89 kB / 444.5 MB, free: 8.832 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001112/0.1074, allocations: 20.2 kB / 444.5 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001027/0.1075, allocations: 35.8 kB / 444.5 MB, free: 8.777 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.492e-05/0.1076, allocations: 31.84 kB / 444.6 MB, free: 8.746 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.356e-05/0.1077, allocations: 4 kB / 444.6 MB, free: 8.742 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.926e-05/0.1077, allocations: 4 kB / 444.6 MB, free: 8.738 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.14e-05/0.1077, allocations: 11.92 kB / 444.6 MB, free: 8.727 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.77e-05/0.1078, allocations: 37.7 kB / 444.6 MB, free: 8.684 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001053/0.1079, allocations: 52.45 kB / 444.7 MB, free: 8.633 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1079, allocations: 0 / 444.7 MB, free: 8.633 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.465e-06/0.1079, allocations: 3.938 kB / 444.7 MB, free: 8.629 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.139e-06/0.108, allocations: 0 / 444.7 MB, free: 8.629 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.0006047/0.1086, allocations: 391.3 kB / 445.1 MB, free: 8.199 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.1086, allocations: 8.031 kB / 445.1 MB, free: 8.191 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.428e-05/0.1087, allocations: 42.55 kB / 445.1 MB, free: 8.141 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.86e-05/0.1087, allocations: 15.75 kB / 445.1 MB, free: 8.125 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002179/0.109, allocations: 202.8 kB / 445.3 MB, free: 7.887 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.833e-05/0.109, allocations: 8 kB / 445.3 MB, free: 7.879 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.113e-05/0.109, allocations: 4 kB / 445.3 MB, free: 7.875 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000629/0.1097, allocations: 225.7 kB / 445.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.136e-05/0.1097, allocations: 0 / 445.6 MB, free: 7.633 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.466e-05/0.1097, allocations: 4 kB / 445.6 MB, free: 7.629 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.183e-06/0.1097, allocations: 4 kB / 445.6 MB, free: 7.625 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002686/0.11, allocations: 59.89 kB / 445.6 MB, free: 7.566 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.1104, allocations: 290.5 kB / 445.9 MB, free: 7.227 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.1107, allocations: 103.8 kB / 446 MB, free: 7.098 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.1107, allocations: 0 / 446 MB, free: 7.098 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.66e-05/0.1107, allocations: 42.75 kB / 446 MB, free: 7.047 MB / 282.7 MB Notification: Performance of pre-optimization done (n=11): time 1.633e-06/0.1107, allocations: 0 / 446 MB, free: 7.047 MB / 282.7 MB Notification: Performance of matching and sorting (n=11): time 0.0006095/0.1114, allocations: 153.6 kB / 446.2 MB, free: 6.891 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.861e-05/0.1115, allocations: 114.8 kB / 446.3 MB, free: 6.754 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002152/0.1117, allocations: 149.6 kB / 446.5 MB, free: 6.598 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.326e-05/0.1117, allocations: 25.83 kB / 446.5 MB, free: 6.566 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.985e-05/0.1118, allocations: 100 kB / 446.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.1119, allocations: 7.906 kB / 446.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.019e-05/0.1119, allocations: 0 / 446.6 MB, free: 6.457 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 9.426e-05/0.112, allocations: 326.8 kB / 446.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001644/0.1122, allocations: 19.98 kB / 446.9 MB, free: 6.109 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001859/0.1124, allocations: 101.4 kB / 447 MB, free: 5.977 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.1126, allocations: 32 kB / 447.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.1126, allocations: 0 / 447.1 MB, free: 5.945 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004767/0.1131, allocations: 137.4 kB / 447.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.608e-05/0.1131, allocations: 4 kB / 447.2 MB, free: 5.801 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.159e-05/0.1132, allocations: 4 kB / 447.2 MB, free: 5.797 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/0.1132, allocations: 7.938 kB / 447.2 MB, free: 5.789 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000252/0.1135, allocations: 31.92 kB / 447.2 MB, free: 5.758 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.538e-05/0.1135, allocations: 4 kB / 447.2 MB, free: 5.754 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001601/0.1137, allocations: 11.94 kB / 447.2 MB, free: 5.742 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.979e-05/0.1137, allocations: 4 kB / 447.3 MB, free: 5.738 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 0.0001692/0.1139, allocations: 148.3 kB / 447.4 MB, free: 5.586 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003762/0.1143, allocations: 89.58 kB / 447.5 MB, free: 5.492 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.973e-05/0.1144, allocations: 20.3 kB / 447.5 MB, free: 5.469 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/0.1144, allocations: 0 / 447.5 MB, free: 5.469 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/0.1144, allocations: 4 kB / 447.5 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.1145, allocations: 0 / 447.5 MB, free: 5.465 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003065/0.1148, allocations: 189.5 kB / 447.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.1148, allocations: 0 / 447.7 MB, free: 5.23 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000246/0.1151, allocations: 27.92 kB / 447.7 MB, free: 5.203 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-06/0.1151, allocations: 4 kB / 447.7 MB, free: 5.199 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.1151, allocations: 4 kB / 447.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.1151, allocations: 0 / 447.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1152, allocations: 0 / 447.7 MB, free: 5.195 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005603/0.1157, allocations: 264.8 kB / 448 MB, free: 4.902 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001076/0.1159, allocations: 93 kB / 448.1 MB, free: 4.793 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.545e-05/0.1159, allocations: 8 kB / 448.1 MB, free: 4.785 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.1162, allocations: 7.984 kB / 448.1 MB, free: 4.777 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.283e-05/0.1162, allocations: 7.953 kB / 448.1 MB, free: 4.77 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-05/0.1163, allocations: 4 kB / 448.1 MB, free: 4.766 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0001158/0.1164, allocations: 111.2 kB / 448.2 MB, free: 4.656 MB / 282.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.1164, allocations: 4 kB / 448.2 MB, free: 4.652 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0006169/0.117, allocations: 16 kB / 448.2 MB, free: 4.637 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.001201/0.1183, allocations: 0.9758 MB / 449.2 MB, free: 3.621 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0004486/0.1187, allocations: 83.84 kB / 449.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.1188, allocations: 0.6875 kB / 449.3 MB, free: 3.539 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 8.846e-05/0.1189, allocations: 15.98 kB / 449.3 MB, free: 3.523 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006868/0.1196, allocations: 59.64 kB / 449.4 MB, free: 3.469 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.1223, allocations: 2.206 MB / 451.6 MB, free: 1.16 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.1227, allocations: 0.7121 MB / 452.3 MB, free: 432 kB / 282.7 MB Notification: Performance of simCode: alias equations: time 9.644e-05/0.1228, allocations: 8.547 kB / 452.3 MB, free: 424 kB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.1229, allocations: 27.5 kB / 452.3 MB, free: 400 kB / 282.7 MB Notification: Performance of SimCode: time 1.904e-06/0.1229, allocations: 3.938 kB / 452.3 MB, free: 396 kB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02634/0.1493, allocations: 1.97 MB / 454.3 MB, free: 14.43 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000414/0.1498, allocations: 214.9 kB / 454.5 MB, free: 14.19 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.502/2.651, allocations: 0 / 454.5 MB, free: 14.19 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