Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001003/0.001003, allocations: 94.66 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001119/0.001119, allocations: 201.2 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.558/1.558, allocations: 227.3 MB / 245.9 MB, free: 10.3 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002501/0.0002501, allocations: 8 kB / 306.7 MB, free: 1.266 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1208/0.1211, allocations: 51.49 MB / 358.2 MB, free: 13.77 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine): time 0.001913/0.123, allocations: 1.207 MB / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007676/0.1238, allocations: 447.3 kB / 359.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.671e-05/0.1239, allocations: 0 / 359.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.1239, allocations: 0 / 359.8 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 7.412e-05/0.124, allocations: 7.922 kB / 359.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002856/0.1243, allocations: 31.91 kB / 359.9 MB, free: 12.07 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.556e-05/0.1244, allocations: 27.95 kB / 359.9 MB, free: 12.05 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.508e-05/0.1245, allocations: 8 kB / 359.9 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001097/0.1246, allocations: 19.92 kB / 359.9 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.029e-05/0.1247, allocations: 15.86 kB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.051e-05/0.1247, allocations: 0 / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.198e-05/0.1248, allocations: 8 kB / 360 MB, free: 12 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.264e-05/0.1248, allocations: 3.984 kB / 360 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.698e-05/0.1248, allocations: 29.7 kB / 360 MB, free: 11.96 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.142e-05/0.1249, allocations: 23.95 kB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.1249, allocations: 0 / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.275e-06/0.1249, allocations: 4 kB / 360 MB, free: 11.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.137e-06/0.125, allocations: 0 / 360 MB, free: 11.93 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005357/0.1255, allocations: 355.4 kB / 360.4 MB, free: 11.54 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.1256, allocations: 8.031 kB / 360.4 MB, free: 11.53 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.815e-05/0.1256, allocations: 30.56 kB / 360.4 MB, free: 11.49 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001718/0.1258, allocations: 15.98 kB / 360.4 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001919/0.126, allocations: 182.8 kB / 360.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.126, allocations: 8 kB / 360.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.126, allocations: 7.938 kB / 360.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003734/0.1264, allocations: 123.2 kB / 360.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1264, allocations: 0 / 360.7 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.1264, allocations: 4 kB / 360.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.202e-06/0.1265, allocations: 0 / 360.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.901e-05/0.1265, allocations: 23.98 kB / 360.8 MB, free: 11.08 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001575/0.1267, allocations: 161.7 kB / 360.9 MB, free: 10.87 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001813/0.1269, allocations: 70.56 kB / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.99e-05/0.1269, allocations: 0 / 361 MB, free: 10.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.127, allocations: 42.45 kB / 361 MB, free: 10.74 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.81e-07/0.127, allocations: 0 / 361 MB, free: 10.74 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002445/0.1272, allocations: 81.67 kB / 361.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.1273, allocations: 59.41 kB / 361.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.767e-05/0.1274, allocations: 109.8 kB / 361.3 MB, free: 10.47 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1274, allocations: 25.7 kB / 361.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.399e-05/0.1275, allocations: 84.14 kB / 361.4 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.598e-06/0.1275, allocations: 7.984 kB / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.765e-06/0.1275, allocations: 0 / 361.4 MB, free: 10.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.1276, allocations: 310.8 kB / 361.7 MB, free: 10.03 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.499e-05/0.1276, allocations: 8 kB / 361.7 MB, free: 10.02 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.932e-05/0.1277, allocations: 35.36 kB / 361.7 MB, free: 9.977 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.013e-05/0.1277, allocations: 8 kB / 361.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1277, allocations: 0 / 361.7 MB, free: 9.969 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.687e-05/0.1278, allocations: 49.64 kB / 361.8 MB, free: 9.914 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.1278, allocations: 16.06 kB / 361.8 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.661e-06/0.1278, allocations: 4 kB / 361.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.1278, allocations: 0 / 361.8 MB, free: 9.895 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.069e-05/0.1279, allocations: 11.94 kB / 361.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.1279, allocations: 0 / 361.8 MB, free: 9.883 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.961e-05/0.1279, allocations: 4 kB / 361.8 MB, free: 9.879 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-06/0.1279, allocations: 4 kB / 361.8 MB, free: 9.875 MB / 302.1 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.864e-05/0.128, allocations: 109.8 kB / 361.9 MB, free: 9.758 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000117/0.1281, allocations: 69.58 kB / 362 MB, free: 9.684 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.623e-05/0.1282, allocations: 19.8 kB / 362 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.1282, allocations: 0 / 362 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.1282, allocations: 0 / 362 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.1282, allocations: 0 / 362 MB, free: 9.656 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001155/0.1283, allocations: 157.7 kB / 362.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.1283, allocations: 336 / 362.2 MB, free: 9.453 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.981e-05/0.1284, allocations: 16.3 kB / 362.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1284, allocations: 0 / 362.2 MB, free: 9.438 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.1284, allocations: 8 kB / 362.2 MB, free: 9.43 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.1284, allocations: 3.953 kB / 362.2 MB, free: 9.426 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1284, allocations: 3.938 kB / 362.2 MB, free: 9.422 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001456/0.1286, allocations: 93.09 kB / 362.3 MB, free: 9.312 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.1287, allocations: 88.95 kB / 362.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.43e-05/0.1287, allocations: 0 / 362.4 MB, free: 9.207 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.674e-05/0.1287, allocations: 11.98 kB / 362.4 MB, free: 9.195 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.623e-06/0.1287, allocations: 3.953 kB / 362.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1287, allocations: 0 / 362.4 MB, free: 9.191 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.682e-05/0.1288, allocations: 87.28 kB / 362.5 MB, free: 9.105 MB / 302.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1288, allocations: 0 / 362.5 MB, free: 9.105 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001811/0.129, allocations: 8 kB / 362.5 MB, free: 9.098 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (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.0004254/0.1294, allocations: 0.6241 MB / 363.1 MB, free: 8.441 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001141/0.1295, allocations: 27.92 kB / 363.2 MB, free: 8.414 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1296, allocations: 4 kB / 363.2 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.62e-07/0.1296, allocations: 0 / 363.2 MB, free: 8.41 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001989/0.1298, allocations: 24.23 kB / 363.2 MB, free: 8.387 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007806/0.1306, allocations: 0.8638 MB / 364 MB, free: 7.461 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003519/0.1309, allocations: 0.6848 MB / 364.7 MB, free: 6.75 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.481e-05/0.1309, allocations: 0 / 364.7 MB, free: 6.75 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.172e-05/0.131, allocations: 15.44 kB / 364.7 MB, free: 6.734 MB / 302.1 MB Notification: Performance of SimCode: time 2.2e-07/0.131, allocations: 0 / 364.7 MB, free: 6.734 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01112/0.1421, allocations: 1.103 MB / 365.8 MB, free: 5.789 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001739/0.1423, allocations: 197.5 kB / 366 MB, free: 5.543 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/1.962, allocations: 0 / 366 MB, free: 5.543 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedSine.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat does not exist to compare? outputFormat=mat