Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.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.Sample2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample2",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.000914/0.000914, allocations: 177 kB / 16.12 MB, free: 5.691 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.313/1.313, allocations: 205 MB / 221.9 MB, free: 9.082 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.0007527/0.0007527, allocations: 97.67 kB / 269.9 MB, free: 8.652 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.07177/0.07177, allocations: 12.58 MB / 330.4 MB, free: 12.06 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003713, allocations: 15.98 kB / 391.2 MB, free: 66.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08491/0.0853, allocations: 49.98 MB / 441.1 MB, free: 16.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2): time 0.001461/0.0868, allocations: 1.266 MB / 442.4 MB, free: 15.01 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002859/0.0871, allocations: 135.6 kB / 442.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.109e-05/0.08719, allocations: 4 kB / 442.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.536e-05/0.08725, allocations: 7.922 kB / 442.6 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.08736, allocations: 0 / 442.6 MB, free: 14.87 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002201/0.08759, allocations: 35.91 kB / 442.6 MB, free: 14.83 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.78e-05/0.08767, allocations: 31.86 kB / 442.6 MB, free: 14.8 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.923e-05/0.08776, allocations: 19.98 kB / 442.6 MB, free: 14.78 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.73e-05/0.08779, allocations: 15.92 kB / 442.7 MB, free: 14.77 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.726e-05/0.08784, allocations: 7.938 kB / 442.7 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.08786, allocations: 0 / 442.7 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.022e-05/0.08788, allocations: 0 / 442.7 MB, free: 14.76 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.739e-05/0.08793, allocations: 15.92 kB / 442.7 MB, free: 14.74 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.255e-05/0.08797, allocations: 23.8 kB / 442.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.308e-05/0.08806, allocations: 39.83 kB / 442.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.08807, allocations: 0 / 442.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.853e-06/0.08807, allocations: 0 / 442.7 MB, free: 14.68 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.08808, allocations: 4 kB / 442.7 MB, free: 14.68 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003207/0.08841, allocations: 359.5 kB / 443.1 MB, free: 14.27 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.08845, allocations: 12.03 kB / 443.1 MB, free: 14.26 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.881e-05/0.08849, allocations: 38.73 kB / 443.1 MB, free: 14.21 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.08852, allocations: 12.78 kB / 443.2 MB, free: 14.2 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.08864, allocations: 180.3 kB / 443.3 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.678e-06/0.08866, allocations: 8.375 kB / 443.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.08867, allocations: 384 / 443.3 MB, free: 13.98 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000228/0.08891, allocations: 121.5 kB / 443.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.08893, allocations: 3.938 kB / 443.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.923e-06/0.08894, allocations: 0 / 443.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.08895, allocations: 4 kB / 443.5 MB, free: 13.84 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.865e-05/0.08902, allocations: 27.92 kB / 443.5 MB, free: 13.81 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002276/0.08926, allocations: 265.7 kB / 443.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.08942, allocations: 150.1 kB / 443.9 MB, free: 13.31 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.478e-05/0.08949, allocations: 29.77 kB / 443.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.08951, allocations: 0 / 443.9 MB, free: 13.28 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.552e-05/0.08953, allocations: 34.56 kB / 444 MB, free: 13.23 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.08954, allocations: 0 / 444 MB, free: 13.23 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002094/0.08976, allocations: 85.61 kB / 444 MB, free: 13.14 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.325e-05/0.0898, allocations: 81.09 kB / 444.1 MB, free: 13.05 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.672e-05/0.08988, allocations: 134 kB / 444.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.575e-06/0.0899, allocations: 33.64 kB / 444.3 MB, free: 12.86 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.999e-05/0.08993, allocations: 88.05 kB / 444.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.08999, allocations: 4.125 kB / 444.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.029e-05/0.09002, allocations: 9.719 kB / 444.4 MB, free: 12.75 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.499e-05/0.09007, allocations: 322.8 kB / 444.7 MB, free: 12.43 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.016e-05/0.09012, allocations: 8 kB / 444.7 MB, free: 12.42 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.793e-05/0.09016, allocations: 35.42 kB / 444.7 MB, free: 12.38 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.736e-05/0.09024, allocations: 51.36 kB / 444.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.09024, allocations: 3.938 kB / 444.8 MB, free: 12.31 MB / 298.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001004/0.09035, allocations: 73.61 kB / 444.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.09037, allocations: 4 kB / 444.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.09038, allocations: 0 / 444.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.0904, allocations: 4 kB / 444.9 MB, free: 12.22 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.854e-05/0.09045, allocations: 8 kB / 444.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.09046, allocations: 3.938 kB / 444.9 MB, free: 12.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.003e-05/0.0905, allocations: 7.906 kB / 444.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.09051, allocations: 3.984 kB / 444.9 MB, free: 12.2 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 5.466e-05/0.09057, allocations: 126.8 kB / 445 MB, free: 12.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.219e-05/0.09063, allocations: 41.97 kB / 445.1 MB, free: 12.02 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.744e-05/0.09066, allocations: 16.28 kB / 445.1 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.09067, allocations: 0 / 445.1 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.09068, allocations: 4 kB / 445.1 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.535e-06/0.09068, allocations: 0 / 445.1 MB, free: 12 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.0908, allocations: 173.5 kB / 445.3 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.09081, allocations: 0 / 445.3 MB, free: 11.78 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.994e-05/0.09086, allocations: 15.92 kB / 445.3 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.09087, allocations: 4 kB / 445.3 MB, free: 11.76 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.09088, allocations: 11.94 kB / 445.3 MB, free: 11.75 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.09089, allocations: 3.938 kB / 445.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.09089, allocations: 0 / 445.3 MB, free: 11.74 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.09102, allocations: 168.3 kB / 445.5 MB, free: 11.56 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.785e-05/0.09107, allocations: 97 kB / 445.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.368e-05/0.09109, allocations: 0 / 445.6 MB, free: 11.45 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.638e-05/0.09115, allocations: 4 kB / 445.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.715e-05/0.09119, allocations: 0 / 445.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.09119, allocations: 0 / 445.6 MB, free: 11.44 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.34e-05/0.09124, allocations: 111.2 kB / 445.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.09125, allocations: 0 / 445.7 MB, free: 11.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001959/0.09145, allocations: 4 kB / 445.7 MB, free: 11.33 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: 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.0002573/0.09171, allocations: 0.7092 MB / 446.4 MB, free: 10.59 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001083/0.09183, allocations: 36.11 kB / 446.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.09184, allocations: 4 kB / 446.4 MB, free: 10.55 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.919e-05/0.09187, allocations: 7.984 kB / 446.4 MB, free: 10.54 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.0922, allocations: 20.03 kB / 446.4 MB, free: 10.52 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000915/0.09313, allocations: 1.343 MB / 447.8 MB, free: 9.078 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001638/0.0933, allocations: 0.6926 MB / 448.5 MB, free: 8.359 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.669e-05/0.09334, allocations: 3.984 kB / 448.5 MB, free: 8.355 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.464e-05/0.09338, allocations: 15.44 kB / 448.5 MB, free: 8.34 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.09338, allocations: 0 / 448.5 MB, free: 8.34 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06239/0.1558, allocations: 1.255 MB / 449.8 MB, free: 7.082 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00019/0.156, allocations: 218.3 kB / 450 MB, free: 6.828 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/1.636, allocations: 4.062 kB / 450 MB, free: 6.824 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches