Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1",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.001109/0.001109, allocations: 171.7 kB / 16.14 MB, free: 5.656 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.498/1.498, allocations: 205.4 MB / 222.3 MB, free: 8.93 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.0009215/0.0009218, allocations: 82.38 kB / 270.6 MB, free: 8.238 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.0828/0.0828, allocations: 12.6 MB / 331.5 MB, free: 11.22 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000369/0.0003692, allocations: 12 kB / 392.8 MB, free: 65.75 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08756/0.08796, allocations: 50.38 MB / 443.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1): time 0.001755/0.08976, allocations: 1.282 MB / 444.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008286/0.09063, allocations: 0.4919 MB / 444.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001214/0.09078, allocations: 0 / 444.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.595e-05/0.09084, allocations: 4 kB / 444.9 MB, free: 13.52 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001526/0.091, allocations: 15.92 kB / 444.9 MB, free: 13.5 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003211/0.09133, allocations: 35.91 kB / 445 MB, free: 13.46 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001089/0.09145, allocations: 43.8 kB / 445 MB, free: 13.42 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000121/0.09157, allocations: 19.97 kB / 445 MB, free: 13.4 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.293e-05/0.09166, allocations: 7.938 kB / 445 MB, free: 13.39 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.335e-05/0.09174, allocations: 23.86 kB / 445.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.475e-05/0.09177, allocations: 0 / 445.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.265e-05/0.09179, allocations: 0 / 445.1 MB, free: 13.37 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.068e-05/0.09186, allocations: 19.91 kB / 445.1 MB, free: 13.35 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 5.299e-05/0.09192, allocations: 49.58 kB / 445.1 MB, free: 13.3 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001021/0.09203, allocations: 48.03 kB / 445.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.09204, allocations: 3.938 kB / 445.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.024e-06/0.09205, allocations: 0 / 445.2 MB, free: 13.25 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.41e-06/0.09206, allocations: 0 / 445.2 MB, free: 13.25 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004838/0.09255, allocations: 367.1 kB / 445.5 MB, free: 12.84 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.09259, allocations: 8.031 kB / 445.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.701e-05/0.09264, allocations: 34.75 kB / 445.6 MB, free: 12.79 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.617e-05/0.09267, allocations: 12.84 kB / 445.6 MB, free: 12.78 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001669/0.09284, allocations: 196.1 kB / 445.8 MB, free: 12.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.218e-05/0.09287, allocations: 4.375 kB / 445.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.09289, allocations: 4.375 kB / 445.8 MB, free: 12.54 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.09317, allocations: 125.1 kB / 445.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.09319, allocations: 4 kB / 445.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.09321, allocations: 0 / 445.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.09322, allocations: 0 / 445.9 MB, free: 12.39 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.966e-05/0.09331, allocations: 23.98 kB / 445.9 MB, free: 12.37 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000278/0.09359, allocations: 269.7 kB / 446.2 MB, free: 12.05 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001803/0.09378, allocations: 142.3 kB / 446.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.091e-05/0.09386, allocations: 29.7 kB / 446.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.419e-05/0.09389, allocations: 0 / 446.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.729e-05/0.09391, allocations: 42.44 kB / 446.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.09392, allocations: 0 / 446.4 MB, free: 11.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.000245/0.09417, allocations: 85.58 kB / 446.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/0.09421, allocations: 81.05 kB / 446.6 MB, free: 11.61 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.874e-05/0.09431, allocations: 144 kB / 446.7 MB, free: 11.46 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.09433, allocations: 29.7 kB / 446.8 MB, free: 11.42 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.313e-05/0.09437, allocations: 84.14 kB / 446.8 MB, free: 11.34 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.558e-05/0.09439, allocations: 3.906 kB / 446.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.958e-06/0.0944, allocations: 0 / 446.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.903e-05/0.09445, allocations: 326.8 kB / 447.2 MB, free: 11 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.972e-05/0.0945, allocations: 8 kB / 447.2 MB, free: 11 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.155e-05/0.09454, allocations: 39.42 kB / 447.2 MB, free: 10.95 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.012e-05/0.09463, allocations: 51.36 kB / 447.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.09464, allocations: 4 kB / 447.3 MB, free: 10.88 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000118/0.09477, allocations: 69.61 kB / 447.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.09479, allocations: 8 kB / 447.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.0948, allocations: 0 / 447.3 MB, free: 10.8 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.09482, allocations: 3.938 kB / 447.3 MB, free: 10.79 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.916e-05/0.0949, allocations: 12.06 kB / 447.3 MB, free: 10.78 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.09491, allocations: 11.98 kB / 447.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.169e-05/0.09496, allocations: 4 kB / 447.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.09497, allocations: 0 / 447.4 MB, free: 10.77 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 6.841e-05/0.09505, allocations: 117.8 kB / 447.5 MB, free: 10.64 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.105e-05/0.09511, allocations: 49.59 kB / 447.5 MB, free: 10.59 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.089e-05/0.09515, allocations: 12.25 kB / 447.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.09516, allocations: 0 / 447.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.09517, allocations: 4 kB / 447.5 MB, free: 10.57 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.09518, allocations: 7.984 kB / 447.6 MB, free: 10.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001439/0.09533, allocations: 177.5 kB / 447.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.09534, allocations: 3.938 kB / 447.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.161e-05/0.0954, allocations: 8 kB / 447.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.09541, allocations: 4 kB / 447.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.266e-06/0.09542, allocations: 4.312 kB / 447.7 MB, free: 10.32 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.09543, allocations: 3.984 kB / 447.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.09543, allocations: 0 / 447.7 MB, free: 10.31 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001536/0.09559, allocations: 180.3 kB / 447.9 MB, free: 10.12 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.765e-05/0.09564, allocations: 96.88 kB / 448 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.09566, allocations: 4 kB / 448 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.668e-05/0.09573, allocations: 0 / 448 MB, free: 10 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.511e-05/0.09578, allocations: 4 kB / 448 MB, free: 9.996 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.09579, allocations: 7.938 kB / 448 MB, free: 9.988 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.97e-05/0.09584, allocations: 113.8 kB / 448.1 MB, free: 9.879 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.09585, allocations: 0 / 448.1 MB, free: 9.879 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002061/0.09606, allocations: 4 kB / 448.1 MB, free: 9.875 MB / 298.7 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 (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.0002935/0.09636, allocations: 0.7054 MB / 448.9 MB, free: 9.141 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001536/0.09652, allocations: 35.91 kB / 448.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.09654, allocations: 0 / 448.9 MB, free: 9.105 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.575e-05/0.09658, allocations: 8 kB / 448.9 MB, free: 9.098 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003504/0.09694, allocations: 29.67 kB / 448.9 MB, free: 9.07 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.09795, allocations: 1.383 MB / 450.3 MB, free: 7.578 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001257/0.09809, allocations: 0.6926 MB / 451 MB, free: 6.859 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.058e-05/0.09813, allocations: 8 kB / 451 MB, free: 6.852 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.658e-05/0.09817, allocations: 19.36 kB / 451 MB, free: 6.832 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.09818, allocations: 0 / 451 MB, free: 6.832 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01079/0.109, allocations: 1.328 MB / 452.4 MB, free: 5.496 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.1092, allocations: 226 kB / 452.6 MB, free: 5.234 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.625/1.734, allocations: 3.938 kB / 452.6 MB, free: 5.23 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample1_res.mat does not exist to compare? outputFormat=mat