Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.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.HoldWithDAeffects1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects1",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.0009152/0.0009152, allocations: 177.1 kB / 16.11 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.508/1.508, allocations: 205 MB / 221.9 MB, free: 9.152 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.0007783/0.0007783, allocations: 101.6 kB / 269.9 MB, free: 8.668 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.07325/0.07325, allocations: 12.57 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003757/0.0003757, allocations: 16 kB / 391.2 MB, free: 66.33 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0876/0.088, allocations: 49.98 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1): time 0.001634/0.08967, allocations: 1.574 MB / 442.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008048/0.09049, allocations: 0.6477 MB / 443.4 MB, free: 14.05 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001192/0.09063, allocations: 11.94 kB / 443.4 MB, free: 14.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.09083, allocations: 15.86 kB / 443.4 MB, free: 14.02 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001145/0.09095, allocations: 15.86 kB / 443.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003066/0.09126, allocations: 91.84 kB / 443.5 MB, free: 13.92 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001343/0.0914, allocations: 131.5 kB / 443.6 MB, free: 13.79 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001393/0.09155, allocations: 61.69 kB / 443.7 MB, free: 13.73 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.962e-05/0.09164, allocations: 39.78 kB / 443.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.229e-05/0.09172, allocations: 39.67 kB / 443.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.09174, allocations: 4 kB / 443.8 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.785e-05/0.09177, allocations: 4 kB / 443.8 MB, free: 13.64 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.644e-05/0.09183, allocations: 19.86 kB / 443.8 MB, free: 13.62 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.09188, allocations: 59.59 kB / 443.8 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.092, allocations: 119.7 kB / 444 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.09201, allocations: 0 / 444 MB, free: 13.45 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.09202, allocations: 0 / 444 MB, free: 13.45 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.149e-06/0.09203, allocations: 0 / 444 MB, free: 13.45 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: 22 * Number of variables: 22 Notification: Performance of Generate backend data structure: time 0.0004787/0.09252, allocations: 431.1 kB / 444.4 MB, free: 12.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.09257, allocations: 8.031 kB / 444.4 MB, free: 12.97 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.663e-05/0.09261, allocations: 46.73 kB / 444.4 MB, free: 12.92 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.77e-05/0.09265, allocations: 20.66 kB / 444.5 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002373/0.09289, allocations: 244.8 kB / 444.7 MB, free: 12.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.09292, allocations: 15.88 kB / 444.7 MB, free: 12.61 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.09294, allocations: 4 kB / 444.7 MB, free: 12.6 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004756/0.09342, allocations: 299.2 kB / 445 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.09345, allocations: 4 kB / 445 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.295e-05/0.09347, allocations: 0 / 445 MB, free: 12.28 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.725e-06/0.09348, allocations: 8 kB / 445 MB, free: 12.27 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.09368, allocations: 87.81 kB / 445.1 MB, free: 12.18 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.09405, allocations: 427.5 kB / 445.5 MB, free: 11.7 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003692/0.09443, allocations: 314.1 kB / 445.8 MB, free: 11.33 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.09459, allocations: 112.3 kB / 445.9 MB, free: 11.21 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.779e-05/0.09463, allocations: 8 kB / 445.9 MB, free: 11.2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.803e-05/0.09465, allocations: 46.44 kB / 446 MB, free: 11.14 MB / 298.7 MB Notification: Performance of pre-optimization done (n=17): time 1.272e-06/0.09466, allocations: 0 / 446 MB, free: 11.14 MB / 298.7 MB Notification: Performance of matching and sorting (n=17): time 0.0004553/0.09512, allocations: 233.3 kB / 446.2 MB, free: 10.91 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.09519, allocations: 196.2 kB / 446.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001192/0.09532, allocations: 183 kB / 446.6 MB, free: 10.49 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.518e-05/0.09534, allocations: 29.7 kB / 446.6 MB, free: 10.45 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.518e-05/0.0954, allocations: 100.1 kB / 446.7 MB, free: 10.35 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.536e-05/0.09543, allocations: 19.83 kB / 446.7 MB, free: 10.33 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.09547, allocations: 17.72 kB / 446.8 MB, free: 10.31 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 8.57e-05/0.09556, allocations: 327.2 kB / 447.1 MB, free: 9.98 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.701e-05/0.09562, allocations: 23.98 kB / 447.1 MB, free: 9.957 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.221e-05/0.09572, allocations: 138.4 kB / 447.2 MB, free: 9.77 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001513/0.09588, allocations: 157.6 kB / 447.4 MB, free: 9.566 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.487e-06/0.0959, allocations: 7.938 kB / 447.4 MB, free: 9.559 MB / 298.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002218/0.09612, allocations: 169.5 kB / 447.6 MB, free: 9.387 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.09615, allocations: 11.94 kB / 447.6 MB, free: 9.375 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.09616, allocations: 4 kB / 447.6 MB, free: 9.371 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.09618, allocations: 4 kB / 447.6 MB, free: 9.367 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.0963, allocations: 31.98 kB / 447.6 MB, free: 9.336 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/0.09632, allocations: 11.92 kB / 447.6 MB, free: 9.324 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.631e-05/0.09641, allocations: 15.91 kB / 447.6 MB, free: 9.309 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.09e-05/0.09643, allocations: 8.219 kB / 447.6 MB, free: 9.301 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (17): * Single equations (assignments): 17 * 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.911e-05/0.09652, allocations: 145.7 kB / 447.8 MB, free: 9.148 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002448/0.09677, allocations: 149.3 kB / 447.9 MB, free: 8.996 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.06e-05/0.09682, allocations: 17.41 kB / 448 MB, free: 8.977 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.09683, allocations: 7.984 kB / 448 MB, free: 8.969 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.09684, allocations: 4.031 kB / 448 MB, free: 8.965 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.09685, allocations: 4 kB / 448 MB, free: 8.961 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002038/0.09706, allocations: 213.5 kB / 448.2 MB, free: 8.703 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.09707, allocations: 4 kB / 448.2 MB, free: 8.699 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001183/0.0972, allocations: 39.91 kB / 448.2 MB, free: 8.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.487e-06/0.09721, allocations: 7.938 kB / 448.2 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.09722, allocations: 0 / 448.2 MB, free: 8.652 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.09723, allocations: 4 kB / 448.2 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.09724, allocations: 0 / 448.2 MB, free: 8.648 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002872/0.09753, allocations: 379.5 kB / 448.6 MB, free: 8.254 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.112e-05/0.0976, allocations: 116.8 kB / 448.7 MB, free: 8.121 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.252e-05/0.09763, allocations: 4 kB / 448.7 MB, free: 8.117 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001332/0.09777, allocations: 15.98 kB / 448.7 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.09781, allocations: 4 kB / 448.7 MB, free: 8.098 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.214e-06/0.09782, allocations: 4 kB / 448.7 MB, free: 8.094 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.068e-05/0.0979, allocations: 141.1 kB / 448.9 MB, free: 7.957 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.0979, allocations: 0 / 448.9 MB, free: 7.957 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002857/0.09819, allocations: 20 kB / 448.9 MB, free: 7.938 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (17): * Single equations (assignments): 17 * 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.0004756/0.09868, allocations: 0.8976 MB / 449.8 MB, free: 7.004 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0002308/0.09892, allocations: 123.7 kB / 449.9 MB, free: 6.883 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.09893, allocations: 0 / 449.9 MB, free: 6.883 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.974e-05/0.09897, allocations: 20.92 kB / 449.9 MB, free: 6.863 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005815/0.09956, allocations: 116.1 kB / 450.1 MB, free: 6.75 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001788/0.1014, allocations: 2.121 MB / 452.2 MB, free: 4.43 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.1015, allocations: 0.7241 MB / 452.9 MB, free: 3.68 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 5.166e-05/0.1016, allocations: 13.56 kB / 452.9 MB, free: 3.668 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.621e-05/0.1016, allocations: 43.41 kB / 453 MB, free: 3.625 MB / 298.7 MB Notification: Performance of SimCode: time 4e-07/0.1016, allocations: 0 / 453 MB, free: 3.625 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01226/0.1139, allocations: 3.024 MB / 456 MB, free: 0.5898 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001464/0.1141, allocations: 232 kB / 456.2 MB, free: 344 kB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.94/2.054, allocations: 0 / 456.2 MB, free: 344 kB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_HoldWithDAeffects1.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.HoldWithDAeffects1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches