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.001974/0.001974, allocations: 115.2 kB / 17.33 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001998/0.001998, allocations: 213.8 kB / 18.27 MB, free: 5.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.57/1.57, allocations: 227.4 MB / 246.4 MB, free: 10.78 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001881/0.001881, allocations: 58.78 kB / 306.6 MB, free: 0.8242 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.1326, allocations: 50.54 MB / 357.1 MB, free: 14.3 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003375/0.136, allocations: 1.751 MB / 358.8 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004294/0.1365, allocations: 159.5 kB / 359 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.149e-05/0.1366, allocations: 0 / 359 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 6.092e-05/0.1367, allocations: 11.92 kB / 359 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001331/0.1368, allocations: 7.938 kB / 359 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.1371, allocations: 43.91 kB / 359.1 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.1372, allocations: 55.91 kB / 359.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001244/0.1373, allocations: 31.95 kB / 359.1 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.744e-05/0.1374, allocations: 23.88 kB / 359.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.571e-05/0.1374, allocations: 27.84 kB / 359.2 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.1375, allocations: 4 kB / 359.2 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.506e-05/0.1375, allocations: 8 kB / 359.2 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.127e-05/0.1375, allocations: 19.88 kB / 359.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.294e-05/0.1376, allocations: 35.72 kB / 359.3 MB, free: 12.11 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001272/0.1377, allocations: 67.72 kB / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/0.1377, allocations: 0 / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.943e-06/0.1377, allocations: 3.938 kB / 359.3 MB, free: 12.04 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.691e-06/0.1378, allocations: 0 / 359.3 MB, free: 12.04 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.0005244/0.1383, allocations: 395.3 kB / 359.7 MB, free: 11.6 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.228e-05/0.1383, allocations: 12.03 kB / 359.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.923e-05/0.1384, allocations: 34.75 kB / 359.8 MB, free: 11.55 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.1384, allocations: 8.844 kB / 359.8 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001985/0.1386, allocations: 196.1 kB / 360 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.1386, allocations: 8.375 kB / 360 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.397e-05/0.1387, allocations: 4.375 kB / 360 MB, free: 11.3 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003531/0.139, allocations: 170.2 kB / 360.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.139, allocations: 3.938 kB / 360.2 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.238e-05/0.1391, allocations: 4 kB / 360.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.733e-06/0.1391, allocations: 4 kB / 360.2 MB, free: 11.1 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.1392, allocations: 31.92 kB / 360.2 MB, free: 11.07 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003973/0.1396, allocations: 373.7 kB / 360.6 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002465/0.1399, allocations: 119.8 kB / 360.7 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001001/0.14, allocations: 54.78 kB / 360.7 MB, free: 10.44 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.668e-05/0.14, allocations: 3.984 kB / 360.7 MB, free: 10.43 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.388e-05/0.14, allocations: 42.56 kB / 360.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.1401, allocations: 4 kB / 360.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003433/0.1404, allocations: 121.4 kB / 360.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.925e-05/0.1405, allocations: 106.8 kB / 361 MB, free: 10.12 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.1406, allocations: 140.6 kB / 361.1 MB, free: 9.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.452e-05/0.1406, allocations: 29.7 kB / 361.2 MB, free: 9.945 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.47e-05/0.1407, allocations: 84.14 kB / 361.2 MB, free: 9.859 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.031e-05/0.1407, allocations: 12.16 kB / 361.3 MB, free: 9.848 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.913e-05/0.1408, allocations: 25.7 kB / 361.3 MB, free: 9.816 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001215/0.1409, allocations: 322.8 kB / 361.6 MB, free: 9.492 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.385e-05/0.1409, allocations: 15.98 kB / 361.6 MB, free: 9.477 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.149e-05/0.141, allocations: 67.66 kB / 361.7 MB, free: 9.383 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.1412, allocations: 103.6 kB / 361.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.1412, allocations: 192 / 361.8 MB, free: 9.254 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001835/0.1414, allocations: 105.4 kB / 361.9 MB, free: 9.145 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.1414, allocations: 8.219 kB / 361.9 MB, free: 9.137 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1414, allocations: 8 kB / 361.9 MB, free: 9.129 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.1414, allocations: 4 kB / 361.9 MB, free: 9.125 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.598e-05/0.1415, allocations: 15.98 kB / 361.9 MB, free: 9.109 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.1415, allocations: 4 kB / 361.9 MB, free: 9.105 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.898e-05/0.1416, allocations: 7.906 kB / 361.9 MB, free: 9.098 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.1416, allocations: 4 kB / 361.9 MB, free: 9.094 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.0001081/0.1417, allocations: 142.7 kB / 362.1 MB, free: 8.945 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001226/0.1418, allocations: 77.58 kB / 362.1 MB, free: 8.863 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.881e-05/0.1419, allocations: 20.66 kB / 362.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.1419, allocations: 0 / 362.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.1419, allocations: 0 / 362.2 MB, free: 8.844 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.1419, allocations: 4 kB / 362.2 MB, free: 8.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002457/0.1421, allocations: 181.6 kB / 362.4 MB, free: 8.613 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.1422, allocations: 3.984 kB / 362.4 MB, free: 8.609 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.03e-05/0.1423, allocations: 27.92 kB / 362.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.1423, allocations: 0 / 362.4 MB, free: 8.582 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.1423, allocations: 8 kB / 362.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1423, allocations: 0 / 362.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.1423, allocations: 400 / 362.4 MB, free: 8.574 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003535/0.1427, allocations: 316.2 kB / 362.7 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.183e-05/0.1427, allocations: 96.94 kB / 362.8 MB, free: 8.129 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.799e-05/0.1428, allocations: 4 kB / 362.8 MB, free: 8.125 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.968e-05/0.1429, allocations: 8 kB / 362.8 MB, free: 8.117 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.022e-05/0.1429, allocations: 7.984 kB / 362.8 MB, free: 8.109 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.322e-06/0.1429, allocations: 4 kB / 362.8 MB, free: 8.105 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.819e-05/0.143, allocations: 103.3 kB / 362.9 MB, free: 8.004 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.143, allocations: 0 / 362.9 MB, free: 8.004 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002866/0.1433, allocations: 15.94 kB / 362.9 MB, free: 7.988 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.0006054/0.1439, allocations: 0.8461 MB / 363.8 MB, free: 7.105 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002028/0.1441, allocations: 80.27 kB / 363.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1441, allocations: 0 / 363.9 MB, free: 7.027 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.877e-05/0.1442, allocations: 7.984 kB / 363.9 MB, free: 7.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004721/0.1446, allocations: 47.89 kB / 363.9 MB, free: 6.973 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00155/0.1462, allocations: 1.585 MB / 365.5 MB, free: 5.25 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.1465, allocations: 0.7041 MB / 366.2 MB, free: 4.52 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.787e-05/0.1466, allocations: 4.672 kB / 366.2 MB, free: 4.508 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.1466, allocations: 23.42 kB / 366.2 MB, free: 4.488 MB / 302.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1466, allocations: 0 / 366.2 MB, free: 4.488 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01227/0.1589, allocations: 1.723 MB / 368 MB, free: 2.891 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002609/0.1592, allocations: 211.5 kB / 368.2 MB, free: 2.629 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.041/2.2, allocations: 3.938 kB / 368.2 MB, free: 2.625 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