Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.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.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample",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.001185/0.001185, allocations: 173.3 kB / 16.15 MB, free: 5.531 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.541/1.541, allocations: 205.4 MB / 222.3 MB, free: 9.008 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.0008587/0.0008586, allocations: 90.75 kB / 270.7 MB, free: 8.227 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.08214/0.08214, allocations: 12.6 MB / 331.5 MB, free: 11.22 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003748, allocations: 8 kB / 392.8 MB, free: 65.74 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09424/0.09463, allocations: 50.39 MB / 443.2 MB, free: 15.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.001501/0.09618, allocations: 1.278 MB / 444.4 MB, free: 14 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007087/0.0969, allocations: 0.5191 MB / 445 MB, free: 13.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.959e-05/0.09699, allocations: 4 kB / 445 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.501e-05/0.09704, allocations: 3.938 kB / 445 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001308/0.09718, allocations: 15.91 kB / 445 MB, free: 13.45 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002733/0.09746, allocations: 43.91 kB / 445 MB, free: 13.41 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.981e-05/0.09756, allocations: 47.8 kB / 445.1 MB, free: 13.36 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.09767, allocations: 16.16 kB / 445.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.353e-05/0.09774, allocations: 11.94 kB / 445.1 MB, free: 13.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.207e-05/0.0978, allocations: 23.86 kB / 445.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.509e-05/0.09782, allocations: 0 / 445.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.283e-05/0.09784, allocations: 4 kB / 445.1 MB, free: 13.31 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.719e-05/0.0979, allocations: 15.92 kB / 445.1 MB, free: 13.29 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.569e-05/0.09794, allocations: 53.44 kB / 445.2 MB, free: 13.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.365e-05/0.09803, allocations: 52.03 kB / 445.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.09804, allocations: 0 / 445.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.09804, allocations: 0 / 445.2 MB, free: 13.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.529e-06/0.09805, allocations: 0 / 445.2 MB, free: 13.18 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003911/0.09845, allocations: 375.1 kB / 445.6 MB, free: 12.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.0985, allocations: 8.031 kB / 445.6 MB, free: 12.76 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.194e-05/0.09854, allocations: 34.75 kB / 445.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.623e-05/0.09857, allocations: 16.83 kB / 445.7 MB, free: 12.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000167/0.09874, allocations: 196.1 kB / 445.9 MB, free: 12.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.017e-05/0.09876, allocations: 12.36 kB / 445.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.108e-05/0.09878, allocations: 4.375 kB / 445.9 MB, free: 12.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002386/0.09902, allocations: 117.8 kB / 446 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.093e-05/0.09904, allocations: 0 / 446 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.168e-06/0.09906, allocations: 4 kB / 446 MB, free: 12.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.09907, allocations: 3.984 kB / 446 MB, free: 12.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.781e-05/0.09915, allocations: 23.92 kB / 446 MB, free: 12.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000249/0.09941, allocations: 278.6 kB / 446.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.043e-05/0.09951, allocations: 67.78 kB / 446.4 MB, free: 11.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.579e-05/0.09957, allocations: 38.58 kB / 446.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.277e-05/0.0996, allocations: 0 / 446.4 MB, free: 11.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.708e-05/0.09963, allocations: 42.55 kB / 446.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.09963, allocations: 3.938 kB / 446.4 MB, free: 11.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002303/0.09987, allocations: 89.83 kB / 446.5 MB, free: 11.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.999e-05/0.09992, allocations: 106.8 kB / 446.6 MB, free: 11.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.663e-05/0.1, allocations: 145.6 kB / 446.8 MB, free: 11.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.089e-05/0.1, allocations: 29.7 kB / 446.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.209e-05/0.1001, allocations: 92.05 kB / 446.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.175e-05/0.1001, allocations: 0 / 446.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-06/0.1001, allocations: 0 / 446.9 MB, free: 11.26 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.078e-05/0.1002, allocations: 326.8 kB / 447.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.77e-05/0.1002, allocations: 8 kB / 447.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.937e-05/0.1002, allocations: 39.42 kB / 447.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001117/0.1004, allocations: 51.36 kB / 447.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1004, allocations: 0 / 447.3 MB, free: 10.81 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001142/0.1005, allocations: 77.64 kB / 447.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.1005, allocations: 8 kB / 447.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.1005, allocations: 4 kB / 447.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.1005, allocations: 0 / 447.4 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.368e-05/0.1006, allocations: 11.94 kB / 447.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1006, allocations: 0 / 447.4 MB, free: 10.71 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.975e-05/0.1007, allocations: 7.984 kB / 447.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.1007, allocations: 7.938 kB / 447.4 MB, free: 10.69 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.78e-05/0.1008, allocations: 118.7 kB / 447.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.615e-05/0.1008, allocations: 61.53 kB / 447.6 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.784e-05/0.1009, allocations: 11.83 kB / 447.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.1009, allocations: 4 kB / 447.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1009, allocations: 0 / 447.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1009, allocations: 0 / 447.6 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001192/0.101, allocations: 181.6 kB / 447.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.101, allocations: 0 / 447.8 MB, free: 10.26 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.454e-05/0.1011, allocations: 8 kB / 447.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.1011, allocations: 4 kB / 447.8 MB, free: 10.25 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1011, allocations: 8.047 kB / 447.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1011, allocations: 0 / 447.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.1011, allocations: 0 / 447.8 MB, free: 10.24 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.1013, allocations: 185 kB / 448 MB, free: 10.04 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.99e-05/0.1013, allocations: 104.9 kB / 448.1 MB, free: 9.914 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.57e-05/0.1013, allocations: 7.938 kB / 448.1 MB, free: 9.906 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.455e-05/0.1014, allocations: 4 kB / 448.1 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.1014, allocations: 0 / 448.1 MB, free: 9.902 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.1014, allocations: 4 kB / 448.1 MB, free: 9.898 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.797e-05/0.1015, allocations: 107.2 kB / 448.2 MB, free: 9.793 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1015, allocations: 0 / 448.2 MB, free: 9.793 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000243/0.1017, allocations: 8 kB / 448.2 MB, free: 9.785 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002973/0.102, allocations: 0.718 MB / 448.9 MB, free: 9.035 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.1022, allocations: 43.92 kB / 449 MB, free: 8.992 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1022, allocations: 0 / 449 MB, free: 8.992 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.437e-05/0.1022, allocations: 8 kB / 449 MB, free: 8.984 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.1026, allocations: 24.02 kB / 449 MB, free: 8.961 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001052/0.1036, allocations: 1.422 MB / 450.4 MB, free: 7.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001564/0.1038, allocations: 0.6926 MB / 451.1 MB, free: 6.711 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.3e-05/0.1038, allocations: 11.98 kB / 451.1 MB, free: 6.699 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.001e-05/0.1039, allocations: 11.44 kB / 451.1 MB, free: 6.688 MB / 298.7 MB Notification: Performance of SimCode: time 2.01e-07/0.1039, allocations: 0 / 451.1 MB, free: 6.688 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01093/0.1148, allocations: 1.449 MB / 452.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001989/0.1151, allocations: 223.1 kB / 452.8 MB, free: 4.98 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/1.72, allocations: 4 kB / 452.8 MB, free: 4.977 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SuperSample.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat does not exist to compare? outputFormat=mat