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.001114/0.001114, allocations: 180.5 kB / 16.12 MB, free: 5.688 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.505/1.505, allocations: 205 MB / 221.9 MB, free: 9.066 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.0008124/0.0008123, allocations: 89.7 kB / 269.9 MB, free: 8.66 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.07355/0.07355, allocations: 12.57 MB / 330.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004894/0.00049, allocations: 12 kB / 391.2 MB, free: 66.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09909/0.09961, allocations: 49.98 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample): time 0.001584/0.1012, allocations: 1.293 MB / 442.4 MB, free: 14.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007686/0.102, allocations: 0.5308 MB / 443 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.428e-05/0.1021, allocations: 0 / 443 MB, free: 14.45 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 5.491e-05/0.1022, allocations: 3.938 kB / 443 MB, free: 14.44 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001588/0.1024, allocations: 19.91 kB / 443 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003267/0.1027, allocations: 39.91 kB / 443 MB, free: 14.38 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.1028, allocations: 51.78 kB / 443.1 MB, free: 14.33 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001367/0.103, allocations: 16.17 kB / 443.1 MB, free: 14.32 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.437e-05/0.1031, allocations: 19.86 kB / 443.1 MB, free: 14.3 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.439e-05/0.1031, allocations: 15.88 kB / 443.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.196e-05/0.1032, allocations: 4 kB / 443.1 MB, free: 14.28 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.47e-05/0.1032, allocations: 4 kB / 443.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.712e-05/0.1033, allocations: 15.92 kB / 443.2 MB, free: 14.26 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.692e-05/0.1033, allocations: 27.73 kB / 443.2 MB, free: 14.23 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.1034, allocations: 44.09 kB / 443.2 MB, free: 14.19 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.486e-06/0.1034, allocations: 7.938 kB / 443.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.697e-06/0.1034, allocations: 0 / 443.2 MB, free: 14.18 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.141e-06/0.1035, allocations: 0 / 443.2 MB, free: 14.18 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005599/0.104, allocations: 367.2 kB / 443.6 MB, free: 13.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.909e-05/0.1041, allocations: 12.03 kB / 443.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.13e-05/0.1042, allocations: 42.73 kB / 443.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.656e-05/0.1042, allocations: 8.844 kB / 443.7 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.1044, allocations: 200.1 kB / 443.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.036e-05/0.1044, allocations: 384 / 443.8 MB, free: 13.47 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.1044, allocations: 8.312 kB / 443.9 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003096/0.1047, allocations: 125.8 kB / 444 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.1048, allocations: 0 / 444 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.198e-06/0.1048, allocations: 0 / 444 MB, free: 13.32 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.1048, allocations: 4 kB / 444 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.198e-05/0.1049, allocations: 23.98 kB / 444 MB, free: 13.29 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003098/0.1052, allocations: 274.5 kB / 444.3 MB, free: 12.96 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/0.1053, allocations: 67.78 kB / 444.3 MB, free: 12.87 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.008e-05/0.1054, allocations: 38.62 kB / 444.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.665e-05/0.1054, allocations: 8 kB / 444.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.735e-05/0.1054, allocations: 30.56 kB / 444.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.583e-06/0.1054, allocations: 0 / 444.4 MB, free: 12.78 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002422/0.1057, allocations: 101.6 kB / 444.5 MB, free: 12.67 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.322e-05/0.1057, allocations: 110.8 kB / 444.6 MB, free: 12.54 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.971e-05/0.1058, allocations: 141.6 kB / 444.8 MB, free: 12.39 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.1058, allocations: 29.7 kB / 444.8 MB, free: 12.36 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.1059, allocations: 88.05 kB / 444.9 MB, free: 12.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.478e-05/0.1059, allocations: 4.188 kB / 444.9 MB, free: 12.26 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.981e-05/0.1059, allocations: 21.7 kB / 444.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.44e-05/0.106, allocations: 318.8 kB / 445.2 MB, free: 11.91 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.867e-05/0.106, allocations: 11.98 kB / 445.2 MB, free: 11.9 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.748e-05/0.1061, allocations: 31.44 kB / 445.3 MB, free: 11.86 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.818e-05/0.1062, allocations: 55.36 kB / 445.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.1062, allocations: 0 / 445.3 MB, free: 11.79 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001126/0.1063, allocations: 81.45 kB / 445.4 MB, free: 11.71 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.409e-05/0.1063, allocations: 4 kB / 445.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.1063, allocations: 0 / 445.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.1063, allocations: 4 kB / 445.4 MB, free: 11.7 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.733e-05/0.1064, allocations: 11.98 kB / 445.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1065, allocations: 0 / 445.4 MB, free: 11.69 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.1065, allocations: 8 kB / 445.4 MB, free: 11.68 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.268e-06/0.1065, allocations: 3.938 kB / 445.4 MB, free: 11.68 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 8.284e-05/0.1066, allocations: 130.8 kB / 445.5 MB, free: 11.54 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.413e-05/0.1067, allocations: 49.55 kB / 445.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.687e-05/0.1067, allocations: 19.81 kB / 445.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1067, allocations: 0 / 445.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.1067, allocations: 4 kB / 445.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1068, allocations: 0 / 445.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001418/0.1069, allocations: 177.6 kB / 445.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1069, allocations: 0 / 445.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.682e-05/0.107, allocations: 16.05 kB / 445.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.107, allocations: 0 / 445.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.137e-06/0.107, allocations: 0 / 445.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.705e-06/0.107, allocations: 7.938 kB / 445.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.107, allocations: 0 / 445.8 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.1072, allocations: 185.1 kB / 446 MB, free: 11.01 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.949e-05/0.1072, allocations: 92.94 kB / 446.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.8e-05/0.1073, allocations: 4 kB / 446.1 MB, free: 10.9 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.403e-05/0.1073, allocations: 3.938 kB / 446.1 MB, free: 10.89 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.133e-05/0.1074, allocations: 11.98 kB / 446.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.1074, allocations: 4 kB / 446.1 MB, free: 10.88 MB / 298.7 MB Notification: Performance of sorting global known variables: time 6.183e-05/0.1075, allocations: 111.2 kB / 446.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1075, allocations: 0 / 446.2 MB, free: 10.77 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002103/0.1077, allocations: 8 kB / 446.2 MB, free: 10.76 MB / 298.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 (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.0004105/0.1081, allocations: 0.7101 MB / 446.9 MB, free: 10.02 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.1082, allocations: 35.92 kB / 447 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.1083, allocations: 0 / 447 MB, free: 9.984 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.843e-05/0.1083, allocations: 15.98 kB / 447 MB, free: 9.969 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000414/0.1087, allocations: 31.95 kB / 447 MB, free: 9.938 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001087/0.1098, allocations: 1.409 MB / 448.4 MB, free: 8.422 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000171/0.11, allocations: 0.6965 MB / 449.1 MB, free: 7.699 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.209e-05/0.11, allocations: 3.984 kB / 449.1 MB, free: 7.695 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.833e-05/0.1101, allocations: 19.44 kB / 449.1 MB, free: 7.676 MB / 298.7 MB Notification: Performance of SimCode: time 4.91e-07/0.1101, allocations: 0 / 449.1 MB, free: 7.676 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0104/0.1205, allocations: 1.446 MB / 450.6 MB, free: 6.227 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001397/0.1207, allocations: 223.3 kB / 450.8 MB, free: 5.973 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.704/1.825, allocations: 0 / 450.8 MB, free: 5.973 MB / 298.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) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches