Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001331/0.001331, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.551/1.551, allocations: 225.4 MB / 240.1 MB, free: 15.03 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009486/0.0009487, allocations: 88.88 kB / 292.1 MB, free: 5.977 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.406e-05, allocations: 0 / 350.6 MB, free: 2.426 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1022, allocations: 51.48 MB / 402.1 MB, free: 14.9 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3172/0.4194, allocations: 77.83 MB / 479.9 MB, free: 11.57 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001915/0.4196, allocations: 74.42 kB / 480 MB, free: 11.53 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003597/0.4233, allocations: 1.425 MB / 481.4 MB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.847e-06/0.4233, allocations: 0 / 481.4 MB, free: 10.3 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.394e-05/0.4233, allocations: 7.172 kB / 481.4 MB, free: 10.3 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003863/0.4237, allocations: 357.3 kB / 481.8 MB, free: 9.918 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.604e-05/0.4238, allocations: 12.03 kB / 481.8 MB, free: 9.906 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.18e-05/0.4239, allocations: 34.5 kB / 481.8 MB, free: 9.867 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.608e-05/0.4239, allocations: 19.97 kB / 481.9 MB, free: 9.852 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.4241, allocations: 194.7 kB / 482.1 MB, free: 9.625 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.4241, allocations: 9.734 kB / 482.1 MB, free: 9.621 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.4242, allocations: 7.938 kB / 482.1 MB, free: 9.613 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002992/0.4245, allocations: 152.8 kB / 482.2 MB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.4245, allocations: 0 / 482.2 MB, free: 9.477 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.4245, allocations: 4 kB / 482.2 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.4245, allocations: 0 / 482.2 MB, free: 9.473 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.114e-05/0.4246, allocations: 31.67 kB / 482.3 MB, free: 9.449 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003472/0.4249, allocations: 373.5 kB / 482.6 MB, free: 9.047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001769/0.4251, allocations: 109.3 kB / 482.7 MB, free: 8.93 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.169e-05/0.4252, allocations: 50.39 kB / 482.8 MB, free: 8.883 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.45e-05/0.4252, allocations: 8.141 kB / 482.8 MB, free: 8.875 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.4252, allocations: 38.38 kB / 482.8 MB, free: 8.832 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.754e-06/0.4253, allocations: 0 / 482.8 MB, free: 8.832 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002055/0.4255, allocations: 86.08 kB / 482.9 MB, free: 8.754 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/0.4255, allocations: 118 kB / 483 MB, free: 8.617 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.839e-05/0.4256, allocations: 128 kB / 483.1 MB, free: 8.492 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.012e-05/0.4256, allocations: 33.45 kB / 483.2 MB, free: 8.457 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.049e-05/0.4257, allocations: 83.95 kB / 483.3 MB, free: 8.375 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.4257, allocations: 19.64 kB / 483.3 MB, free: 8.359 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.4257, allocations: 2.25 kB / 483.3 MB, free: 8.359 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.322e-05/0.4257, allocations: 318.6 kB / 483.6 MB, free: 8.043 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.166e-05/0.4258, allocations: 8 kB / 483.6 MB, free: 8.035 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.184e-05/0.4259, allocations: 71.28 kB / 483.7 MB, free: 7.945 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.934e-05/0.4259, allocations: 19.44 kB / 483.7 MB, free: 7.93 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.4259, allocations: 4 kB / 483.7 MB, free: 7.926 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001249/0.426, allocations: 97.52 kB / 483.8 MB, free: 7.836 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.4261, allocations: 4 kB / 483.8 MB, free: 7.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.4261, allocations: 4 kB / 483.8 MB, free: 7.828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.593e-05/0.4261, allocations: 4.281 kB / 483.8 MB, free: 7.824 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.557e-05/0.4262, allocations: 24.64 kB / 483.8 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.908e-06/0.4262, allocations: 7.938 kB / 483.8 MB, free: 7.793 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.119e-05/0.4263, allocations: 4.688 kB / 483.8 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.4263, allocations: 4 kB / 483.8 MB, free: 7.785 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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 4.866e-05/0.4263, allocations: 112.8 kB / 483.9 MB, free: 7.672 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.4264, allocations: 77.12 kB / 484 MB, free: 7.602 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.057e-05/0.4265, allocations: 16.3 kB / 484 MB, free: 7.594 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.4265, allocations: 9.406 kB / 484 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.4265, allocations: 0 / 484 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.4265, allocations: 0.9844 kB / 484.1 MB, free: 7.586 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001894/0.4267, allocations: 190.6 kB / 484.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4267, allocations: 0 / 484.2 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.669e-05/0.4268, allocations: 23.73 kB / 484.3 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.4268, allocations: 0 / 484.3 MB, free: 7.34 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.4268, allocations: 4 kB / 484.3 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.4268, allocations: 0 / 484.3 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4268, allocations: 0 / 484.3 MB, free: 7.336 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.4271, allocations: 332.4 kB / 484.6 MB, free: 7.004 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.557e-05/0.4272, allocations: 100.9 kB / 484.7 MB, free: 6.891 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.426e-05/0.4272, allocations: 4 kB / 484.7 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.539e-05/0.4273, allocations: 8 kB / 484.7 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.598e-05/0.4273, allocations: 3.688 kB / 484.7 MB, free: 6.879 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.853e-06/0.4273, allocations: 4.625 kB / 484.7 MB, free: 6.875 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.646e-05/0.4274, allocations: 108.8 kB / 484.8 MB, free: 6.777 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.7e-07/0.4274, allocations: 0 / 484.8 MB, free: 6.777 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002678/0.4276, allocations: 8 kB / 484.8 MB, free: 6.77 MB / 346.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * 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.000393/0.428, allocations: 1.003 MB / 485.8 MB, free: 5.758 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001121/0.4282, allocations: 55.12 kB / 485.9 MB, free: 5.715 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.4282, allocations: 0 / 485.9 MB, free: 5.715 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.662e-05/0.4282, allocations: 4 kB / 485.9 MB, free: 5.711 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003044/0.4285, allocations: 43.91 kB / 485.9 MB, free: 5.68 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000426/0.4289, allocations: 168.1 kB / 486.1 MB, free: 5.496 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.4291, allocations: 0.7082 MB / 486.8 MB, free: 4.762 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.394e-05/0.4291, allocations: 4.656 kB / 486.8 MB, free: 4.754 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.4292, allocations: 19.06 kB / 486.8 MB, free: 4.742 MB / 346.7 MB Notification: Performance of SimCode: time 4.8e-07/0.4292, allocations: 0 / 486.8 MB, free: 4.742 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01178/0.441, allocations: 1.576 MB / 488.4 MB, free: 3.387 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000135/0.4412, allocations: 166.9 kB / 488.6 MB, free: 3.16 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.542/1.983, allocations: 0 / 488.6 MB, free: 3.16 MB / 346.7 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat does not exist to compare? outputFormat=mat