Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 105.9 kB / 16.92 MB, free: 6.184 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001614/0.001614, allocations: 191.4 kB / 17.85 MB, free: 5.289 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.673/1.673, allocations: 222.9 MB / 241.5 MB, free: 15.27 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 47.64 kB / 300.7 MB, free: 5.777 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1385/0.1398, allocations: 49.44 MB / 350.2 MB, free: 4.332 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.004101/0.144, allocations: 1.538 MB / 351.7 MB, free: 2.773 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005168/0.1445, allocations: 149 kB / 351.8 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.1447, allocations: 0 / 351.8 MB, free: 2.629 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 5.876e-05/0.1448, allocations: 3.938 kB / 351.9 MB, free: 2.625 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001782/0.145, allocations: 15.92 kB / 351.9 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.1453, allocations: 31.91 kB / 351.9 MB, free: 2.578 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001095/0.1454, allocations: 35.86 kB / 351.9 MB, free: 2.543 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001337/0.1456, allocations: 15.98 kB / 351.9 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.325e-05/0.1456, allocations: 7.938 kB / 352 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.834e-05/0.1457, allocations: 19.91 kB / 352 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.86e-05/0.1457, allocations: 4 kB / 352 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.506e-05/0.1457, allocations: 0 / 352 MB, free: 2.496 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.03e-05/0.1458, allocations: 19.94 kB / 352 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.267e-05/0.1459, allocations: 27.8 kB / 352 MB, free: 2.449 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.146, allocations: 43.81 kB / 352.1 MB, free: 2.406 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.005e-05/0.146, allocations: 0 / 352.1 MB, free: 2.406 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.1461, allocations: 3.938 kB / 352.1 MB, free: 2.402 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.1461, allocations: 7.938 kB / 352.1 MB, free: 2.395 MB / 286.1 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.0006616/0.1467, allocations: 363.5 kB / 352.4 MB, free: 1.988 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.56e-05/0.1468, allocations: 8.031 kB / 352.4 MB, free: 1.98 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.44e-05/0.1469, allocations: 34.75 kB / 352.5 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.174e-05/0.1469, allocations: 12.84 kB / 352.5 MB, free: 1.926 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002679/0.1472, allocations: 188.1 kB / 352.7 MB, free: 1.703 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.1472, allocations: 4.375 kB / 352.7 MB, free: 1.699 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.597e-05/0.1472, allocations: 4.375 kB / 352.7 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003617/0.1476, allocations: 121.5 kB / 352.8 MB, free: 1.559 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.1476, allocations: 3.938 kB / 352.8 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.1477, allocations: 0 / 352.8 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.1477, allocations: 0 / 352.8 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.738e-05/0.1478, allocations: 23.97 kB / 352.8 MB, free: 1.531 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004201/0.1482, allocations: 257.8 kB / 353.1 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002421/0.1484, allocations: 142.2 kB / 353.2 MB, free: 1.051 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.324e-05/0.1485, allocations: 29.77 kB / 353.2 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.1486, allocations: 0 / 353.2 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.1486, allocations: 34.5 kB / 353.3 MB, free: 0.9727 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.098e-05/0.1486, allocations: 4 kB / 353.3 MB, free: 0.9688 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002954/0.1489, allocations: 81.45 kB / 353.4 MB, free: 0.8828 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/0.149, allocations: 81.11 kB / 353.4 MB, free: 0.7852 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001334/0.1491, allocations: 130.1 kB / 353.6 MB, free: 0.6445 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.1492, allocations: 29.7 kB / 353.6 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.1492, allocations: 84.12 kB / 353.7 MB, free: 0.5234 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.474e-05/0.1493, allocations: 11.94 kB / 353.7 MB, free: 0.5117 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.047e-05/0.1493, allocations: 21.75 kB / 353.7 MB, free: 496 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.1495, allocations: 314.8 kB / 354 MB, free: 172 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.587e-05/0.1495, allocations: 7.984 kB / 354 MB, free: 164 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.495e-05/0.1496, allocations: 39.42 kB / 354.1 MB, free: 112 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.239e-05/0.1497, allocations: 47.36 kB / 354.1 MB, free: 52 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.1497, allocations: 3.938 kB / 354.1 MB, free: 48 kB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001623/0.1498, allocations: 61.62 kB / 354.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.1499, allocations: 4 kB / 354.2 MB, free: 15.98 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.1499, allocations: 3.938 kB / 354.2 MB, free: 15.97 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.1499, allocations: 8.125 kB / 354.2 MB, free: 15.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.267e-05/0.15, allocations: 11.98 kB / 354.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.83e-06/0.15, allocations: 3.938 kB / 354.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.716e-05/0.15, allocations: 4 kB / 354.2 MB, free: 15.95 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.15, allocations: 4 kB / 354.2 MB, free: 15.94 MB / 302.1 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.601e-05/0.1501, allocations: 121.8 kB / 354.3 MB, free: 15.81 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.172e-05/0.1502, allocations: 45.61 kB / 354.4 MB, free: 15.76 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.35e-05/0.1503, allocations: 16.17 kB / 354.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1503, allocations: 0 / 354.4 MB, free: 15.74 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.1503, allocations: 4 kB / 354.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.1503, allocations: 4 kB / 354.4 MB, free: 15.73 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.1505, allocations: 169.6 kB / 354.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.944e-06/0.1505, allocations: 0 / 354.6 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.671e-05/0.1505, allocations: 8 kB / 354.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1505, allocations: 0 / 354.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.183e-06/0.1506, allocations: 0 / 354.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.1506, allocations: 0 / 354.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.1506, allocations: 7.984 kB / 354.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001716/0.1507, allocations: 172.6 kB / 354.8 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.984e-05/0.1508, allocations: 89 kB / 354.8 MB, free: 15.21 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.1508, allocations: 7.938 kB / 354.8 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.726e-05/0.1509, allocations: 7.922 kB / 354.9 MB, free: 15.19 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.72e-05/0.1509, allocations: 8.031 kB / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.151, allocations: 4 kB / 354.9 MB, free: 15.18 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.687e-05/0.151, allocations: 102.5 kB / 355 MB, free: 15.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1511, allocations: 4 kB / 355 MB, free: 15.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002278/0.1513, allocations: 8 kB / 355 MB, free: 15.07 MB / 302.1 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.0005282/0.1518, allocations: 0.6975 MB / 355.7 MB, free: 14.34 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001644/0.152, allocations: 35.92 kB / 355.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/0.152, allocations: 0 / 355.7 MB, free: 14.31 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.828e-05/0.1521, allocations: 8 kB / 355.7 MB, free: 14.3 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.1525, allocations: 30.77 kB / 355.8 MB, free: 14.27 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00167/0.1542, allocations: 1.318 MB / 357.1 MB, free: 12.85 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004784/0.1547, allocations: 0.6924 MB / 357.8 MB, free: 12.13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.812e-05/0.1548, allocations: 7.938 kB / 357.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.348e-05/0.1548, allocations: 19.42 kB / 357.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of SimCode: time 8.81e-07/0.1548, allocations: 3.938 kB / 357.8 MB, free: 12.1 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02573/0.1806, allocations: 1.439 MB / 359.2 MB, free: 10.73 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 9.704/9.885, allocations: 10.95 kB / 359.2 MB, free: 10.73 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample2.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches