Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.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.Sample3,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample3",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.001436/0.001436, allocations: 178.3 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.298/1.298, allocations: 205 MB / 221.9 MB, free: 9.148 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.0006705/0.0006704, allocations: 88.19 kB / 269.9 MB, free: 8.676 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.06584/0.06584, allocations: 12.56 MB / 330.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003333/0.0003333, allocations: 16 kB / 391.2 MB, free: 66.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06787/0.06821, allocations: 49.97 MB / 441.1 MB, free: 16.3 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3): time 0.001595/0.06984, allocations: 1.404 MB / 442.5 MB, free: 14.88 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0003249/0.07018, allocations: 159.5 kB / 442.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.892e-05/0.07027, allocations: 4 kB / 442.7 MB, free: 14.72 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 4.957e-05/0.07033, allocations: 7.922 kB / 442.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001222/0.07046, allocations: 4 kB / 442.7 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002428/0.07071, allocations: 43.89 kB / 442.8 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.804e-05/0.07079, allocations: 47.86 kB / 442.8 MB, free: 14.62 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.474e-05/0.07089, allocations: 27.97 kB / 442.8 MB, free: 14.59 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.671e-05/0.07093, allocations: 19.86 kB / 442.9 MB, free: 14.57 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.07097, allocations: 19.88 kB / 442.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.601e-05/0.071, allocations: 4 kB / 442.9 MB, free: 14.55 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.118e-05/0.07101, allocations: 4 kB / 442.9 MB, free: 14.54 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.07106, allocations: 11.92 kB / 442.9 MB, free: 14.53 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.711e-05/0.07109, allocations: 31.73 kB / 442.9 MB, free: 14.5 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 7.574e-05/0.07117, allocations: 63.94 kB / 443 MB, free: 14.44 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.07118, allocations: 3.938 kB / 443 MB, free: 14.43 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.07119, allocations: 0 / 443 MB, free: 14.43 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.267e-06/0.0712, allocations: 0 / 443 MB, free: 14.43 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003215/0.07153, allocations: 379.2 kB / 443.4 MB, free: 14.01 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.07157, allocations: 12.03 kB / 443.4 MB, free: 14 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.756e-05/0.0716, allocations: 38.75 kB / 443.4 MB, free: 13.95 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.528e-05/0.07163, allocations: 16.73 kB / 443.4 MB, free: 13.94 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001242/0.07176, allocations: 192.2 kB / 443.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.634e-06/0.07178, allocations: 384 / 443.6 MB, free: 13.71 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.829e-06/0.07179, allocations: 8.375 kB / 443.6 MB, free: 13.7 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002723/0.07207, allocations: 175.6 kB / 443.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.257e-06/0.07209, allocations: 3.938 kB / 443.8 MB, free: 13.51 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.017e-06/0.0721, allocations: 3.984 kB / 443.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.07211, allocations: 4 kB / 443.8 MB, free: 13.5 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.632e-05/0.07222, allocations: 39.97 kB / 443.8 MB, free: 13.46 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002725/0.0725, allocations: 369.8 kB / 444.2 MB, free: 13.04 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001829/0.07269, allocations: 115.8 kB / 444.3 MB, free: 12.9 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.942e-05/0.07278, allocations: 58.84 kB / 444.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.203e-05/0.07281, allocations: 7.969 kB / 444.4 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.07283, allocations: 54.5 kB / 444.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of pre-optimization done (n=10): time 1.302e-06/0.07284, allocations: 0 / 444.4 MB, free: 12.77 MB / 298.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002771/0.07312, allocations: 121.5 kB / 444.6 MB, free: 12.64 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.07316, allocations: 106.8 kB / 444.7 MB, free: 12.51 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.903e-05/0.07324, allocations: 136.6 kB / 444.8 MB, free: 12.37 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.344e-06/0.07325, allocations: 33.7 kB / 444.8 MB, free: 12.33 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.567e-05/0.07328, allocations: 96.05 kB / 444.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.0733, allocations: 3.984 kB / 444.9 MB, free: 12.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.936e-05/0.07333, allocations: 21.66 kB / 444.9 MB, free: 12.2 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 3.755e-05/0.07337, allocations: 322.8 kB / 445.3 MB, free: 11.88 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.186e-05/0.07342, allocations: 12 kB / 445.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.071e-05/0.07347, allocations: 79.7 kB / 445.3 MB, free: 11.76 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.141e-05/0.07357, allocations: 91.59 kB / 445.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.07358, allocations: 0 / 445.4 MB, free: 11.64 MB / 298.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001429/0.07373, allocations: 117.4 kB / 445.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.07375, allocations: 4 kB / 445.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.07376, allocations: 4.188 kB / 445.6 MB, free: 11.52 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.07377, allocations: 4 kB / 445.6 MB, free: 11.51 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.999e-05/0.07384, allocations: 27.86 kB / 445.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.07385, allocations: 4.281 kB / 445.6 MB, free: 11.48 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.48e-05/0.0739, allocations: 15.84 kB / 445.6 MB, free: 11.46 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.563e-06/0.07391, allocations: 7.984 kB / 445.6 MB, free: 11.46 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (10): * Single equations (assignments): 10 * 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.253e-05/0.07397, allocations: 126.7 kB / 445.7 MB, free: 11.32 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.578e-05/0.07407, allocations: 77.83 kB / 445.8 MB, free: 11.24 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.762e-05/0.07411, allocations: 12.72 kB / 445.8 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.07411, allocations: 7.938 kB / 445.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.07412, allocations: 0 / 445.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.07413, allocations: 3.984 kB / 445.8 MB, free: 11.22 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.07429, allocations: 185.6 kB / 446 MB, free: 10.99 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.0743, allocations: 4 kB / 446 MB, free: 10.98 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.624e-05/0.07437, allocations: 16 kB / 446 MB, free: 10.97 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.07438, allocations: 3.984 kB / 446 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.0744, allocations: 0 / 446 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/0.0744, allocations: 4 kB / 446.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.07441, allocations: 3.938 kB / 446.1 MB, free: 10.96 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.07467, allocations: 320.4 kB / 446.4 MB, free: 10.62 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.909e-05/0.07472, allocations: 100.9 kB / 446.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.07474, allocations: 3.984 kB / 446.5 MB, free: 10.5 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.99e-05/0.07484, allocations: 8 kB / 446.5 MB, free: 10.49 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.686e-05/0.07487, allocations: 8 kB / 446.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.07488, allocations: 0 / 446.5 MB, free: 10.48 MB / 298.7 MB Notification: Performance of sorting global known variables: time 4.304e-05/0.07493, allocations: 118.1 kB / 446.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.07494, allocations: 0 / 446.6 MB, free: 10.37 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002471/0.07519, allocations: 12 kB / 446.6 MB, free: 10.36 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 (10): * Single equations (assignments): 10 * 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.0003428/0.07554, allocations: 0.8382 MB / 447.5 MB, free: 9.484 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001343/0.07568, allocations: 68.47 kB / 447.5 MB, free: 9.418 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.07569, allocations: 3.938 kB / 447.5 MB, free: 9.414 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.456e-05/0.07573, allocations: 19.92 kB / 447.5 MB, free: 9.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003938/0.07613, allocations: 39.95 kB / 447.6 MB, free: 9.355 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009711/0.07711, allocations: 1.618 MB / 449.2 MB, free: 7.594 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001058/0.07723, allocations: 0.7004 MB / 449.9 MB, free: 6.867 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 2.726e-05/0.07727, allocations: 4.672 kB / 449.9 MB, free: 6.859 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.07731, allocations: 23.42 kB / 449.9 MB, free: 6.84 MB / 298.7 MB Notification: Performance of SimCode: time 2.41e-07/0.07731, allocations: 0 / 449.9 MB, free: 6.84 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009683/0.087, allocations: 1.609 MB / 451.5 MB, free: 5.223 MB / 298.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001308/0.08716, allocations: 222.3 kB / 451.8 MB, free: 4.965 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.576/1.663, allocations: 3.938 kB / 451.8 MB, free: 4.961 MB / 298.7 MB (rm -f Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_Synchronous_Modelica_Synchronous_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/testsuite/ReferenceFiles/Modelica_Synchronous/Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.mat","../files/Modelica_Synchronous_Modelica_Synchronous.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches