Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.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.SampleWithADeffects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects",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.0008709/0.000871, allocations: 180.4 kB / 16.12 MB, free: 5.566 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.464/1.464, allocations: 205 MB / 221.9 MB, free: 9.141 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.000746/0.0007461, allocations: 97.16 kB / 269.9 MB, free: 8.664 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.07551/0.07551, allocations: 12.56 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004097/0.0004096, allocations: 8 kB / 391.2 MB, free: 66.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09488/0.0953, allocations: 49.99 MB / 441.1 MB, free: 16.28 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.001812/0.09717, allocations: 1.566 MB / 442.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0011/0.09828, allocations: 0.7137 MB / 443.4 MB, free: 13.98 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001247/0.09842, allocations: 4 kB / 443.4 MB, free: 13.97 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001681/0.09861, allocations: 11.86 kB / 443.4 MB, free: 13.96 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001629/0.09878, allocations: 27.86 kB / 443.5 MB, free: 13.93 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.09933, allocations: 135.7 kB / 443.6 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001974/0.09954, allocations: 139.6 kB / 443.7 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.09972, allocations: 53.55 kB / 443.8 MB, free: 13.61 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001022/0.09983, allocations: 51.72 kB / 443.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001263/0.09997, allocations: 51.64 kB / 443.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.827e-05/0.1, allocations: 4 kB / 443.9 MB, free: 13.51 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1001, allocations: 35.97 kB / 443.9 MB, free: 13.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 8.524e-05/0.1002, allocations: 31.84 kB / 444 MB, free: 13.44 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 7.258e-05/0.1003, allocations: 63.53 kB / 444 MB, free: 13.38 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002308/0.1005, allocations: 179.6 kB / 444.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.1006, allocations: 0 / 444.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.595e-06/0.1006, allocations: 0 / 444.2 MB, free: 13.2 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.1006, allocations: 0 / 444.2 MB, free: 13.2 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007378/0.1013, allocations: 447 kB / 444.6 MB, free: 12.72 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.04e-05/0.1014, allocations: 12.03 kB / 444.6 MB, free: 12.71 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.329e-05/0.1014, allocations: 42.73 kB / 444.7 MB, free: 12.66 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.331e-05/0.1015, allocations: 16.75 kB / 444.7 MB, free: 12.64 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002912/0.1018, allocations: 248 kB / 444.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.1018, allocations: 4.562 kB / 444.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.147e-05/0.1019, allocations: 19.92 kB / 445 MB, free: 12.34 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007547/0.1026, allocations: 349.9 kB / 445.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.155e-05/0.1027, allocations: 0 / 445.3 MB, free: 11.97 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.782e-05/0.1027, allocations: 4 kB / 445.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.523e-06/0.1027, allocations: 0 / 445.3 MB, free: 11.96 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002838/0.103, allocations: 103.9 kB / 445.4 MB, free: 11.86 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004004/0.1034, allocations: 345.5 kB / 445.8 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005142/0.1039, allocations: 282.2 kB / 446 MB, free: 11.16 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002226/0.1042, allocations: 105.7 kB / 446.1 MB, free: 11.05 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005691/0.1047, allocations: 0.5856 MB / 446.7 MB, free: 10.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.533e-05/0.1048, allocations: 38.78 kB / 446.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.824e-06/0.1048, allocations: 0 / 446.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0006887/0.1055, allocations: 256.4 kB / 447 MB, free: 10.04 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.1056, allocations: 118.8 kB / 447.1 MB, free: 9.895 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001794/0.1058, allocations: 202.3 kB / 447.3 MB, free: 9.684 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.1058, allocations: 25.7 kB / 447.3 MB, free: 9.652 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.147e-05/0.1058, allocations: 104.6 kB / 447.4 MB, free: 9.547 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.769e-05/0.1059, allocations: 19.83 kB / 447.5 MB, free: 9.527 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.1059, allocations: 21.72 kB / 447.5 MB, free: 9.5 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.178e-05/0.106, allocations: 326.8 kB / 447.8 MB, free: 9.172 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.636e-05/0.1061, allocations: 43.97 kB / 447.8 MB, free: 9.129 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001461/0.1063, allocations: 165.1 kB / 448 MB, free: 8.906 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.1065, allocations: 212 kB / 448.2 MB, free: 8.641 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.1065, allocations: 0 / 448.2 MB, free: 8.641 MB / 298.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000376/0.1069, allocations: 221 kB / 448.4 MB, free: 8.418 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1069, allocations: 12.58 kB / 448.4 MB, free: 8.406 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.107, allocations: 4 kB / 448.4 MB, free: 8.402 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.107, allocations: 8 kB / 448.5 MB, free: 8.395 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.1072, allocations: 47.92 kB / 448.5 MB, free: 8.348 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.173e-05/0.1072, allocations: 4 kB / 448.5 MB, free: 8.344 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001465/0.1074, allocations: 23.83 kB / 448.5 MB, free: 8.32 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.63e-05/0.1074, allocations: 15.94 kB / 448.5 MB, free: 8.305 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample.noise.seedState[3],sample.noise.seedState[3],$CLKPRE.sample.noise.seedState[2],sample.noise.seedState[2],$CLKPRE.sample.noise.seedState[1],sample.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample.noise.seedState[3],sample.noise.seedState[2],sample.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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 0.0001286/0.1075, allocations: 145.7 kB / 448.7 MB, free: 8.152 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003551/0.1079, allocations: 177.3 kB / 448.9 MB, free: 7.973 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004142/0.1083, allocations: 183.4 kB / 449 MB, free: 7.789 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.71e-06/0.1083, allocations: 8 kB / 449 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.661e-06/0.1083, allocations: 0 / 449 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1084, allocations: 0 / 449 MB, free: 7.781 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002245/0.1086, allocations: 229.4 kB / 449.3 MB, free: 7.508 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.1086, allocations: 7.938 kB / 449.3 MB, free: 7.5 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.1088, allocations: 39.89 kB / 449.3 MB, free: 7.461 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.1088, allocations: 4 kB / 449.3 MB, free: 7.457 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.983e-05/0.1088, allocations: 4 kB / 449.3 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1089, allocations: 0 / 449.3 MB, free: 7.453 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.1089, allocations: 4 kB / 449.3 MB, free: 7.449 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004567/0.1093, allocations: 297.8 kB / 449.6 MB, free: 7.141 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.477e-05/0.1094, allocations: 120.8 kB / 449.7 MB, free: 7.004 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.092e-05/0.1095, allocations: 8 kB / 449.7 MB, free: 6.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001711/0.1097, allocations: 11.98 kB / 449.8 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.812e-05/0.1097, allocations: 0 / 449.8 MB, free: 6.984 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.1097, allocations: 11.98 kB / 449.8 MB, free: 6.973 MB / 298.7 MB Notification: Performance of sorting global known variables: time 0.0001166/0.1099, allocations: 140.4 kB / 449.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1099, allocations: 0 / 449.9 MB, free: 6.836 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0004453/0.1103, allocations: 35.94 kB / 449.9 MB, free: 6.801 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: 3 (sample.noise.seedState[1],sample.noise.seedState[2],sample.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample.noise.seedState[1],sample.noise.seedState[2],sample.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0009981/0.1113, allocations: 0.9277 MB / 450.9 MB, free: 5.844 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0004252/0.1118, allocations: 155.9 kB / 451 MB, free: 5.691 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/0.1118, allocations: 4 kB / 451 MB, free: 5.688 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 4.78e-05/0.1118, allocations: 8 kB / 451 MB, free: 5.68 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008345/0.1127, allocations: 154.5 kB / 451.2 MB, free: 5.523 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001882/0.1146, allocations: 1.074 MB / 452.3 MB, free: 4.34 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001833/0.1148, allocations: 0.7402 MB / 453 MB, free: 3.57 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 7.744e-05/0.1149, allocations: 17.55 kB / 453 MB, free: 3.555 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.038e-05/0.115, allocations: 43.42 kB / 453.1 MB, free: 3.512 MB / 298.7 MB Notification: Performance of SimCode: time 3.51e-07/0.115, allocations: 0 / 453.1 MB, free: 3.512 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01755/0.1325, allocations: 3.808 MB / 456.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003011/0.1329, allocations: 233.2 kB / 457.1 MB, free: 15.44 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.74/1.873, allocations: 3.938 kB / 457.1 MB, free: 15.43 MB / 314.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches