Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001168/0.001168, allocations: 103.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001324/0.001324, allocations: 216.5 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.505/1.505, allocations: 227.4 MB / 246.8 MB, free: 10.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 55.84 kB / 307.1 MB, free: 0.5156 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1324/0.1338, allocations: 50.53 MB / 357.6 MB, free: 13.98 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.00534/0.1392, allocations: 1.697 MB / 359.3 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006671/0.1399, allocations: 167.4 kB / 359.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001913/0.1401, allocations: 0 / 359.4 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 9.946e-05/0.1403, allocations: 11.86 kB / 359.5 MB, free: 12.09 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.1406, allocations: 11.88 kB / 359.5 MB, free: 12.08 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000574/0.1412, allocations: 43.83 kB / 359.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002129/0.1414, allocations: 51.91 kB / 359.6 MB, free: 11.99 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002547/0.1417, allocations: 39.95 kB / 359.6 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.895e-05/0.1418, allocations: 15.88 kB / 359.6 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.1419, allocations: 27.86 kB / 359.6 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 4.012e-05/0.142, allocations: 8 kB / 359.7 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.363e-05/0.142, allocations: 4 kB / 359.7 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 8.929e-05/0.1421, allocations: 15.92 kB / 359.7 MB, free: 11.88 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 8.759e-05/0.1422, allocations: 43.73 kB / 359.7 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.1424, allocations: 63.73 kB / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.119e-05/0.1424, allocations: 0 / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.246e-06/0.1425, allocations: 0 / 359.8 MB, free: 11.77 MB / 302.1 MB Notification: Performance of Transformations before backend: time 1.348e-05/0.1425, allocations: 0 / 359.8 MB, free: 11.77 MB / 302.1 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.001037/0.1435, allocations: 391.3 kB / 360.2 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.783e-05/0.1436, allocations: 8.031 kB / 360.2 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.417e-05/0.1437, allocations: 46.67 kB / 360.2 MB, free: 11.28 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6e-05/0.1438, allocations: 12.84 kB / 360.2 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003374/0.1441, allocations: 195.4 kB / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1441, allocations: 4.375 kB / 360.4 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.907e-05/0.1442, allocations: 8.375 kB / 360.4 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004747/0.1446, allocations: 166.3 kB / 360.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.1447, allocations: 3.938 kB / 360.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1447, allocations: 4 kB / 360.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.1447, allocations: 0 / 360.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001231/0.1448, allocations: 39.91 kB / 360.6 MB, free: 10.8 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005974/0.1454, allocations: 369.8 kB / 361 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002868/0.1457, allocations: 111.8 kB / 361.1 MB, free: 10.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/0.1459, allocations: 66.61 kB / 361.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.004e-05/0.1459, allocations: 0 / 361.2 MB, free: 10.17 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.842e-05/0.1459, allocations: 34.56 kB / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 9.91e-07/0.1459, allocations: 0 / 361.2 MB, free: 10.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003973/0.1463, allocations: 125.9 kB / 361.3 MB, free: 9.996 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.297e-05/0.1465, allocations: 114.8 kB / 361.4 MB, free: 9.859 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001319/0.1466, allocations: 133.8 kB / 361.6 MB, free: 9.719 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.759e-05/0.1466, allocations: 25.7 kB / 361.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.361e-05/0.1467, allocations: 96.12 kB / 361.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.1467, allocations: 3.906 kB / 361.7 MB, free: 9.586 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.15e-05/0.1468, allocations: 25.72 kB / 361.7 MB, free: 9.555 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001329/0.1469, allocations: 318.8 kB / 362 MB, free: 9.234 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.66e-05/0.147, allocations: 24.02 kB / 362.1 MB, free: 9.211 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.918e-05/0.1471, allocations: 75.66 kB / 362.1 MB, free: 9.109 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001491/0.1473, allocations: 87.59 kB / 362.2 MB, free: 8.996 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.1473, allocations: 8 kB / 362.2 MB, free: 8.988 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002215/0.1475, allocations: 105.4 kB / 362.3 MB, free: 8.879 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.012e-05/0.1475, allocations: 8 kB / 362.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.1476, allocations: 0 / 362.3 MB, free: 8.871 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.1476, allocations: 4 kB / 362.3 MB, free: 8.867 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.187e-05/0.1477, allocations: 20.22 kB / 362.4 MB, free: 8.848 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.1477, allocations: 11.98 kB / 362.4 MB, free: 8.836 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.724e-05/0.1477, allocations: 11.91 kB / 362.4 MB, free: 8.824 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/0.1478, allocations: 4 kB / 362.4 MB, free: 8.82 MB / 302.1 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 0.0001164/0.1479, allocations: 134.7 kB / 362.5 MB, free: 8.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001478/0.148, allocations: 73.59 kB / 362.6 MB, free: 8.602 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.1481, allocations: 16.7 kB / 362.6 MB, free: 8.586 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.1481, allocations: 3.984 kB / 362.6 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.1481, allocations: 7.938 kB / 362.6 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.712e-06/0.1481, allocations: 4 kB / 362.6 MB, free: 8.57 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003452/0.1485, allocations: 181.6 kB / 362.8 MB, free: 8.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.1485, allocations: 4 kB / 362.8 MB, free: 8.34 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.069e-05/0.1486, allocations: 19.92 kB / 362.8 MB, free: 8.32 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.753e-06/0.1486, allocations: 4 kB / 362.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.1486, allocations: 0 / 362.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1486, allocations: 0 / 362.8 MB, free: 8.316 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.1486, allocations: 4 kB / 362.8 MB, free: 8.312 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004856/0.1491, allocations: 312.3 kB / 363.1 MB, free: 7.984 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.876e-05/0.1492, allocations: 100.9 kB / 363.2 MB, free: 7.867 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.1493, allocations: 3.938 kB / 363.2 MB, free: 7.863 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.783e-05/0.1494, allocations: 4 kB / 363.2 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.1494, allocations: 0 / 363.2 MB, free: 7.859 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.378e-06/0.1494, allocations: 12 kB / 363.2 MB, free: 7.848 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.818e-05/0.1495, allocations: 110.2 kB / 363.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of sort global known variables: time 5.11e-07/0.1495, allocations: 0 / 363.4 MB, free: 7.742 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000325/0.1499, allocations: 11.94 kB / 363.4 MB, free: 7.73 MB / 302.1 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.0008977/0.1508, allocations: 0.8575 MB / 364.2 MB, free: 6.836 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.151, allocations: 59.84 kB / 364.3 MB, free: 6.777 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.151, allocations: 0 / 364.3 MB, free: 6.777 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 6.336e-05/0.1511, allocations: 16.62 kB / 364.3 MB, free: 6.762 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006164/0.1517, allocations: 44.28 kB / 364.3 MB, free: 6.719 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001886/0.1536, allocations: 1.584 MB / 365.9 MB, free: 5 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.154, allocations: 0.7002 MB / 366.6 MB, free: 4.273 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.184e-05/0.154, allocations: 4.797 kB / 366.6 MB, free: 4.262 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.675e-05/0.1541, allocations: 19.44 kB / 366.7 MB, free: 4.246 MB / 302.1 MB Notification: Performance of SimCode: time 7.42e-07/0.1541, allocations: 0 / 366.7 MB, free: 4.246 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02066/0.1748, allocations: 1.825 MB / 368.5 MB, free: 2.5 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.41/8.585, allocations: 14.66 kB / 368.5 MB, free: 2.488 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches