Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008459/0.0008461, allocations: 98.17 kB / 17 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001035/0.001035, allocations: 194.3 kB / 17.91 MB, free: 5.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.324/1.324, allocations: 227.3 MB / 246 MB, free: 11.98 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002232/0.0002233, allocations: 8 kB / 306.8 MB, free: 1.48 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1002/0.1004, allocations: 51.48 MB / 358.3 MB, free: 13.99 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.001664/0.1021, allocations: 1.274 MB / 359.6 MB, free: 12.71 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007251/0.1029, allocations: 499 kB / 360.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.992e-05/0.1029, allocations: 4 kB / 360.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.523e-05/0.103, allocations: 0 / 360.1 MB, free: 12.22 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.1031, allocations: 7.922 kB / 360.1 MB, free: 12.21 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002301/0.1033, allocations: 39.91 kB / 360.1 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.212e-05/0.1034, allocations: 35.86 kB / 360.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.246e-05/0.1035, allocations: 19.95 kB / 360.2 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.526e-05/0.1036, allocations: 15.92 kB / 360.2 MB, free: 12.1 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.955e-05/0.1037, allocations: 19.92 kB / 360.2 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.1037, allocations: 7.938 kB / 360.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 3.631e-05/0.1037, allocations: 4 kB / 360.2 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.979e-05/0.1038, allocations: 11.98 kB / 360.2 MB, free: 12.06 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.26e-05/0.1038, allocations: 29.64 kB / 360.3 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.252e-05/0.1039, allocations: 35.94 kB / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1039, allocations: 0 / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1039, allocations: 0 / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.1039, allocations: 0 / 360.3 MB, free: 11.99 MB / 302.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003964/0.1043, allocations: 374 kB / 360.7 MB, free: 11.58 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1043, allocations: 8.031 kB / 360.7 MB, free: 11.57 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.187e-05/0.1044, allocations: 34.56 kB / 360.7 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.1045, allocations: 19.89 kB / 360.7 MB, free: 11.51 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.1047, allocations: 179 kB / 360.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.245e-05/0.1047, allocations: 8 kB / 360.9 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.749e-06/0.1047, allocations: 7.891 kB / 360.9 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002115/0.1049, allocations: 89.11 kB / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.105, allocations: 0 / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.105, allocations: 4 kB / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.823e-06/0.105, allocations: 0 / 361 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.94e-05/0.1051, allocations: 23.92 kB / 361 MB, free: 11.14 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000276/0.1053, allocations: 265.8 kB / 361.3 MB, free: 10.83 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.82e-05/0.1054, allocations: 45.16 kB / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.667e-05/0.1055, allocations: 25.77 kB / 361.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.1055, allocations: 0 / 361.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.748e-05/0.1055, allocations: 30.56 kB / 361.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/0.1056, allocations: 0 / 361.4 MB, free: 10.7 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002184/0.1058, allocations: 77.73 kB / 361.5 MB, free: 10.62 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.1058, allocations: 81.14 kB / 361.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.1059, allocations: 144.2 kB / 361.7 MB, free: 10.37 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.106, allocations: 25.7 kB / 361.7 MB, free: 10.34 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.106, allocations: 92.12 kB / 361.8 MB, free: 10.25 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.309e-05/0.106, allocations: 7.875 kB / 361.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-06/0.1061, allocations: 0 / 361.8 MB, free: 10.24 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 9.988e-05/0.1062, allocations: 322.8 kB / 362.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.314e-05/0.1062, allocations: 11.98 kB / 362.1 MB, free: 9.902 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.66e-05/0.1063, allocations: 21.72 kB / 362.1 MB, free: 9.875 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.27e-05/0.1063, allocations: 15.94 kB / 362.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1063, allocations: 0 / 362.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001128/0.1064, allocations: 65.59 kB / 362.2 MB, free: 9.789 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/0.1064, allocations: 4 kB / 362.2 MB, free: 9.785 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.268e-05/0.1065, allocations: 4 kB / 362.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.788e-06/0.1065, allocations: 0 / 362.2 MB, free: 9.781 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.614e-05/0.1066, allocations: 7.984 kB / 362.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.1066, allocations: 0 / 362.2 MB, free: 9.773 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.382e-05/0.1066, allocations: 4 kB / 362.2 MB, free: 9.77 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1066, allocations: 0 / 362.2 MB, free: 9.77 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.275e-05/0.1067, allocations: 129.8 kB / 362.4 MB, free: 9.633 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.233e-05/0.1068, allocations: 33.61 kB / 362.4 MB, free: 9.594 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.346e-05/0.1068, allocations: 15.83 kB / 362.4 MB, free: 9.574 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.1068, allocations: 3.938 kB / 362.4 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.1068, allocations: 0 / 362.4 MB, free: 9.57 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.37e-06/0.1068, allocations: 7.984 kB / 362.4 MB, free: 9.562 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001565/0.107, allocations: 165.7 kB / 362.6 MB, free: 9.352 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.107, allocations: 3.953 kB / 362.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.494e-05/0.107, allocations: 12.02 kB / 362.6 MB, free: 9.336 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.1071, allocations: 4 kB / 362.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.723e-06/0.1071, allocations: 0 / 362.6 MB, free: 9.332 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/0.1071, allocations: 4 kB / 362.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.1071, allocations: 0 / 362.6 MB, free: 9.328 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001667/0.1073, allocations: 164.3 kB / 362.8 MB, free: 9.148 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.216e-05/0.1073, allocations: 93.05 kB / 362.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.1073, allocations: 0 / 362.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.406e-05/0.1074, allocations: 4 kB / 362.9 MB, free: 9.035 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.023e-05/0.1075, allocations: 7.922 kB / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.1075, allocations: 0 / 362.9 MB, free: 9.027 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.167e-05/0.1075, allocations: 114 kB / 363 MB, free: 8.918 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.11e-07/0.1076, allocations: 0 / 363 MB, free: 8.918 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000209/0.1078, allocations: 4 kB / 363 MB, free: 8.914 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0004362/0.1082, allocations: 0.6938 MB / 363.7 MB, free: 8.188 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001199/0.1083, allocations: 35.89 kB / 363.7 MB, free: 8.152 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1084, allocations: 0 / 363.7 MB, free: 8.152 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.507e-05/0.1084, allocations: 11.94 kB / 363.7 MB, free: 8.141 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003109/0.1087, allocations: 16.02 kB / 363.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007548/0.1095, allocations: 487.9 kB / 364.2 MB, free: 7.594 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.1098, allocations: 0.6887 MB / 364.9 MB, free: 6.879 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.726e-05/0.1098, allocations: 4 kB / 364.9 MB, free: 6.875 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.9e-05/0.1099, allocations: 15.42 kB / 364.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1099, allocations: 0 / 364.9 MB, free: 6.859 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01114/0.121, allocations: 1.212 MB / 366.2 MB, free: 5.801 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.1212, allocations: 214 kB / 366.4 MB, free: 5.547 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.799/1.92, allocations: 3.938 kB / 366.4 MB, free: 5.543 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat does not exist to compare? outputFormat=mat