Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.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.Hold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Hold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Hold",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.001412/0.001412, allocations: 179.1 kB / 16.11 MB, free: 5.695 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.473/1.473, allocations: 205 MB / 221.9 MB, free: 9.145 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.0007591/0.0007593, allocations: 96.31 kB / 269.9 MB, free: 8.672 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.07501/0.07501, allocations: 12.57 MB / 330.4 MB, free: 12.08 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005541/0.0005541, allocations: 16 kB / 391.2 MB, free: 66.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.104/0.1046, allocations: 49.98 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Hold): time 0.001702/0.1064, allocations: 1.32 MB / 442.5 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008597/0.1073, allocations: 0.5308 MB / 443 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.1074, allocations: 0 / 443 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.393e-05/0.1075, allocations: 7.938 kB / 443 MB, free: 14.41 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001405/0.1076, allocations: 15.86 kB / 443 MB, free: 14.39 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000275/0.1079, allocations: 47.89 kB / 443.1 MB, free: 14.35 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.884e-05/0.108, allocations: 47.84 kB / 443.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.307e-05/0.1081, allocations: 16 kB / 443.1 MB, free: 14.29 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.406e-05/0.1082, allocations: 23.8 kB / 443.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.548e-05/0.1082, allocations: 31.84 kB / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.1083, allocations: 0 / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.1083, allocations: 4 kB / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.816e-05/0.1083, allocations: 7.938 kB / 443.2 MB, free: 14.22 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.359e-05/0.1084, allocations: 27.8 kB / 443.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 9.288e-05/0.1085, allocations: 56.02 kB / 443.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1085, allocations: 0 / 443.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.1085, allocations: 0 / 443.3 MB, free: 14.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1085, allocations: 0 / 443.3 MB, free: 14.14 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003976/0.1089, allocations: 375.2 kB / 443.6 MB, free: 13.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.109, allocations: 8.031 kB / 443.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.131e-05/0.109, allocations: 38.73 kB / 443.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.817e-05/0.109, allocations: 12.75 kB / 443.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001697/0.1092, allocations: 200.6 kB / 443.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.835e-06/0.1092, allocations: 384 / 443.9 MB, free: 13.42 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.634e-05/0.1092, allocations: 15.88 kB / 443.9 MB, free: 13.41 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002627/0.1095, allocations: 138.6 kB / 444.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.1095, allocations: 0 / 444.1 MB, free: 13.25 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.975e-06/0.1095, allocations: 3.938 kB / 444.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.33e-06/0.1096, allocations: 0 / 444.1 MB, free: 13.24 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.433e-05/0.1097, allocations: 31.97 kB / 444.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000269/0.1099, allocations: 287.4 kB / 444.4 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/0.11, allocations: 94.36 kB / 444.5 MB, free: 12.74 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.271e-05/0.1101, allocations: 47.55 kB / 444.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.584e-05/0.1101, allocations: 4 kB / 444.5 MB, free: 12.68 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.1102, allocations: 42.48 kB / 444.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of pre-optimization done (n=6): time 1.282e-06/0.1102, allocations: 0 / 444.6 MB, free: 12.63 MB / 298.7 MB Notification: Performance of matching and sorting (n=6): time 0.000264/0.1104, allocations: 109.9 kB / 444.7 MB, free: 12.52 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.068e-05/0.1105, allocations: 132.6 kB / 444.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.41e-05/0.1106, allocations: 149.7 kB / 444.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.1106, allocations: 29.7 kB / 445 MB, free: 12.16 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.133e-05/0.1107, allocations: 88.14 kB / 445 MB, free: 12.07 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.61e-05/0.1107, allocations: 11.89 kB / 445.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.456e-05/0.1107, allocations: 13.72 kB / 445.1 MB, free: 12.04 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.366e-05/0.1108, allocations: 314.8 kB / 445.4 MB, free: 11.73 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.508e-05/0.1108, allocations: 19.98 kB / 445.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.846e-05/0.1109, allocations: 40.28 kB / 445.4 MB, free: 11.65 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.14e-05/0.111, allocations: 72.16 kB / 445.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.111, allocations: 0 / 445.5 MB, free: 11.57 MB / 298.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001329/0.1111, allocations: 93.55 kB / 445.6 MB, free: 11.47 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.1112, allocations: 4 kB / 445.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1112, allocations: 0 / 445.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1112, allocations: 7.938 kB / 445.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.737e-05/0.1113, allocations: 15.92 kB / 445.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.1113, allocations: 7.938 kB / 445.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.503e-05/0.1113, allocations: 7.938 kB / 445.6 MB, free: 11.43 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1113, allocations: 0 / 445.6 MB, free: 11.43 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (6): * Single equations (assignments): 6 * 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.488e-05/0.1114, allocations: 126 kB / 445.8 MB, free: 11.29 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.227e-05/0.1115, allocations: 61.53 kB / 445.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.1115, allocations: 15.86 kB / 445.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.1115, allocations: 4 kB / 445.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.1115, allocations: 7.875 kB / 445.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.1116, allocations: 0 / 445.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.1117, allocations: 173.6 kB / 446 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.1117, allocations: 4 kB / 446 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.05e-05/0.1118, allocations: 11.98 kB / 446 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.1118, allocations: 8.188 kB / 446 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1118, allocations: 4 kB / 446.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.1118, allocations: 4 kB / 446.1 MB, free: 10.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.1118, allocations: 7.875 kB / 446.1 MB, free: 10.94 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000148/0.112, allocations: 198 kB / 446.3 MB, free: 10.72 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4e-05/0.112, allocations: 93 kB / 446.3 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.112, allocations: 4 kB / 446.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.725e-05/0.1121, allocations: 0 / 446.4 MB, free: 10.61 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.047e-05/0.1121, allocations: 11.92 kB / 446.4 MB, free: 10.6 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.1121, allocations: 8 kB / 446.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.691e-05/0.1122, allocations: 108 kB / 446.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1122, allocations: 4 kB / 446.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.1124, allocations: 8 kB / 446.5 MB, free: 10.47 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (6): * Single equations (assignments): 6 * 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.000307/0.1127, allocations: 0.7304 MB / 447.2 MB, free: 9.707 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001245/0.1129, allocations: 47.84 kB / 447.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1129, allocations: 0 / 447.3 MB, free: 9.66 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.833e-05/0.1129, allocations: 20.31 kB / 447.3 MB, free: 9.641 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003582/0.1133, allocations: 40.02 kB / 447.3 MB, free: 9.602 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001021/0.1143, allocations: 1.479 MB / 448.8 MB, free: 8.004 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.1145, allocations: 0.6965 MB / 449.5 MB, free: 7.281 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.379e-05/0.1145, allocations: 15.77 kB / 449.5 MB, free: 7.266 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.811e-05/0.1145, allocations: 19.44 kB / 449.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of SimCode: time 3e-07/0.1145, allocations: 0 / 449.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009483/0.124, allocations: 1.615 MB / 451.1 MB, free: 5.629 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001251/0.1242, allocations: 230.3 kB / 451.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.628/1.752, allocations: 0 / 451.4 MB, free: 5.359 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Hold_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Hold.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Hold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches