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.001629/0.001632, allocations: 185.9 kB / 15.81 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.297/2.297, allocations: 205.4 MB / 221.9 MB, free: 13.82 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.001285/0.001259, allocations: 102.8 kB / 270.3 MB, free: 13.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_Synchronous 0.93.0-master/package.mo): time 0.1032/0.1032, allocations: 12.59 MB / 331.1 MB, free: 10.28 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008838/0.000884, allocations: 14.25 kB / 392.1 MB, free: 54.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.1118, allocations: 50.38 MB / 442.5 MB, free: 10.81 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.001936/0.1138, allocations: 1.271 MB / 443.8 MB, free: 9.527 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.00107/0.1149, allocations: 0.5048 MB / 444.3 MB, free: 9.016 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000116/0.1151, allocations: 7.938 kB / 444.3 MB, free: 9.008 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 4.074e-05/0.1151, allocations: 0 / 444.3 MB, free: 9.008 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001374/0.1153, allocations: 3.938 kB / 444.3 MB, free: 9.004 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003739/0.1157, allocations: 47.88 kB / 444.3 MB, free: 8.957 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001064/0.1158, allocations: 35.89 kB / 444.4 MB, free: 8.922 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00011/0.1159, allocations: 16.17 kB / 444.4 MB, free: 8.906 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.203e-05/0.116, allocations: 15.88 kB / 444.4 MB, free: 8.891 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.925e-05/0.1161, allocations: 27.84 kB / 444.4 MB, free: 8.863 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.134e-05/0.1161, allocations: 0 / 444.4 MB, free: 8.863 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.496e-05/0.1162, allocations: 0 / 444.4 MB, free: 8.863 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.608e-05/0.1162, allocations: 7.938 kB / 444.4 MB, free: 8.855 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.684e-05/0.1162, allocations: 37.69 kB / 444.5 MB, free: 8.812 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 8.856e-05/0.1163, allocations: 31.95 kB / 444.5 MB, free: 8.781 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.1163, allocations: 0 / 444.5 MB, free: 8.781 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.1164, allocations: 0 / 444.5 MB, free: 8.781 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.629e-06/0.1164, allocations: 3.938 kB / 444.5 MB, free: 8.777 MB / 282.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.0005088/0.1169, allocations: 371.8 kB / 444.9 MB, free: 8.367 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.1169, allocations: 8.031 kB / 444.9 MB, free: 8.359 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.71e-05/0.117, allocations: 42.48 kB / 444.9 MB, free: 8.309 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.117, allocations: 7.906 kB / 444.9 MB, free: 8.301 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001971/0.1172, allocations: 190.9 kB / 445.1 MB, free: 8.074 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.1173, allocations: 7.984 kB / 445.1 MB, free: 8.066 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.395e-05/0.1173, allocations: 7.922 kB / 445.1 MB, free: 8.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.1176, allocations: 117.9 kB / 445.2 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.1176, allocations: 0 / 445.2 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.1177, allocations: 0 / 445.2 MB, free: 7.922 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.1177, allocations: 4 kB / 445.2 MB, free: 7.918 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.1178, allocations: 31.92 kB / 445.3 MB, free: 7.887 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003172/0.1181, allocations: 270.6 kB / 445.5 MB, free: 7.566 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001299/0.1183, allocations: 75.78 kB / 445.6 MB, free: 7.465 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.754e-05/0.1183, allocations: 4.062 kB / 445.6 MB, free: 7.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.091e-05/0.1184, allocations: 34.5 kB / 445.6 MB, free: 7.418 MB / 282.7 MB Notification: Performance of pre-optimization done (n=4): time 1.643e-06/0.1184, allocations: 0 / 445.6 MB, free: 7.418 MB / 282.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003657/0.1187, allocations: 89.7 kB / 445.7 MB, free: 7.324 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.984e-05/0.1188, allocations: 110.8 kB / 445.8 MB, free: 7.191 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001312/0.119, allocations: 145.5 kB / 446 MB, free: 7.039 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.119, allocations: 25.7 kB / 446 MB, free: 7.008 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.549e-05/0.119, allocations: 96.05 kB / 446.1 MB, free: 6.91 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.721e-05/0.1191, allocations: 8.172 kB / 446.1 MB, free: 6.902 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.1191, allocations: 3.938 kB / 446.1 MB, free: 6.898 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 6.394e-05/0.1191, allocations: 318.8 kB / 446.4 MB, free: 6.578 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.468e-05/0.1192, allocations: 7.984 kB / 446.4 MB, free: 6.57 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.277e-05/0.1193, allocations: 35.44 kB / 446.5 MB, free: 6.523 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.528e-05/0.1194, allocations: 19.98 kB / 446.5 MB, free: 6.504 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.1194, allocations: 0 / 446.5 MB, free: 6.504 MB / 282.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002/0.1196, allocations: 77.52 kB / 446.6 MB, free: 6.422 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.1197, allocations: 4 kB / 446.6 MB, free: 6.418 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.243e-06/0.1197, allocations: 8.125 kB / 446.6 MB, free: 6.41 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.1197, allocations: 0 / 446.6 MB, free: 6.41 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001175/0.1198, allocations: 11.94 kB / 446.6 MB, free: 6.398 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.024e-06/0.1198, allocations: 0 / 446.6 MB, free: 6.398 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.849e-05/0.1199, allocations: 15.94 kB / 446.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.1199, allocations: 4 kB / 446.6 MB, free: 6.379 MB / 282.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.995e-05/0.12, allocations: 117.6 kB / 446.7 MB, free: 6.254 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.382e-05/0.1201, allocations: 61.53 kB / 446.8 MB, free: 6.188 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.719e-05/0.1202, allocations: 11.83 kB / 446.8 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.1202, allocations: 4 kB / 446.8 MB, free: 6.172 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.1202, allocations: 3.938 kB / 446.8 MB, free: 6.168 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1202, allocations: 3.938 kB / 446.8 MB, free: 6.164 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000224/0.1205, allocations: 181.6 kB / 447 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.1205, allocations: 0 / 447 MB, free: 5.938 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.196e-05/0.1206, allocations: 8 kB / 447 MB, free: 5.93 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.1206, allocations: 4 kB / 447 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.1206, allocations: 0 / 447 MB, free: 5.926 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.1206, allocations: 4.062 kB / 447 MB, free: 5.922 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.367e-06/0.1206, allocations: 3.984 kB / 447 MB, free: 5.918 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002641/0.1209, allocations: 208.5 kB / 447.2 MB, free: 5.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.256e-05/0.121, allocations: 97 kB / 447.3 MB, free: 5.566 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.986e-05/0.121, allocations: 0 / 447.3 MB, free: 5.566 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.1211, allocations: 4 kB / 447.3 MB, free: 5.562 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.1212, allocations: 3.953 kB / 447.3 MB, free: 5.559 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.604e-06/0.1212, allocations: 4 kB / 447.3 MB, free: 5.555 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.078e-05/0.1213, allocations: 111.2 kB / 447.4 MB, free: 5.445 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.1213, allocations: 0 / 447.4 MB, free: 5.445 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003259/0.1216, allocations: 4 kB / 447.4 MB, free: 5.441 MB / 282.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 (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.0004428/0.1221, allocations: 0.8784 MB / 448.3 MB, free: 4.523 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001918/0.1223, allocations: 43.95 kB / 448.3 MB, free: 4.48 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1223, allocations: 0 / 448.3 MB, free: 4.48 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 6.169e-05/0.1224, allocations: 4 kB / 448.3 MB, free: 4.477 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003855/0.1228, allocations: 36.25 kB / 448.4 MB, free: 4.445 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001117/0.1239, allocations: 0.9715 MB / 449.4 MB, free: 3.406 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001817/0.1241, allocations: 0.7004 MB / 450.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.041e-05/0.1242, allocations: 192 / 450.1 MB, free: 2.68 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.91e-05/0.1243, allocations: 23.48 kB / 450.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of SimCode: time 8.92e-07/0.1243, allocations: 0 / 450.1 MB, free: 2.656 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02644/0.1507, allocations: 1.42 MB / 451.5 MB, free: 1.246 MB / 282.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002816/0.1511, allocations: 213.2 kB / 451.7 MB, free: 0.9961 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.387/2.538, allocations: 4 kB / 451.7 MB, free: 0.9922 MB / 282.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