Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",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.001318/0.001318, allocations: 89.92 kB / 16.65 MB, free: 6.535 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.002023/0.002023, allocations: 175.2 kB / 17.56 MB, free: 6.18 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.619/1.619, allocations: 223.3 MB / 241.6 MB, free: 100 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003164/0.0003167, allocations: 8 kB / 301.5 MB, free: 6.008 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1282/0.1285, allocations: 50.41 MB / 351.9 MB, free: 3.586 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002443/0.131, allocations: 1.288 MB / 353.2 MB, free: 2.285 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1321, allocations: 462.9 kB / 353.7 MB, free: 1.828 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.1322, allocations: 7.938 kB / 353.7 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.835e-05/0.1323, allocations: 0 / 353.7 MB, free: 1.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001925/0.1325, allocations: 7.922 kB / 353.7 MB, free: 1.812 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003587/0.1329, allocations: 35.91 kB / 353.7 MB, free: 1.777 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001237/0.133, allocations: 47.8 kB / 353.8 MB, free: 1.73 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001209/0.1331, allocations: 11.98 kB / 353.8 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.817e-05/0.1332, allocations: 23.91 kB / 353.8 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.832e-05/0.1333, allocations: 19.88 kB / 353.8 MB, free: 1.676 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.253e-05/0.1333, allocations: 4 kB / 353.8 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.221e-05/0.1334, allocations: 0 / 353.8 MB, free: 1.672 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.982e-05/0.1334, allocations: 7.984 kB / 353.9 MB, free: 1.664 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.463e-05/0.1335, allocations: 49.52 kB / 353.9 MB, free: 1.609 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001254/0.1336, allocations: 43.73 kB / 353.9 MB, free: 1.566 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.856e-06/0.1336, allocations: 7.984 kB / 354 MB, free: 1.559 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.1336, allocations: 0 / 354 MB, free: 1.559 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.1337, allocations: 0 / 354 MB, free: 1.559 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.0005454/0.1342, allocations: 371.5 kB / 354.3 MB, free: 1.148 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.1343, allocations: 12.03 kB / 354.3 MB, free: 1.137 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.32e-05/0.1343, allocations: 30.75 kB / 354.4 MB, free: 1.098 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/0.1344, allocations: 8.844 kB / 354.4 MB, free: 1.09 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1346, allocations: 192.1 kB / 354.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.1346, allocations: 4.375 kB / 354.6 MB, free: 0.8594 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.276e-05/0.1347, allocations: 4.375 kB / 354.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003327/0.135, allocations: 125.1 kB / 354.7 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.135, allocations: 0 / 354.7 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.135, allocations: 0 / 354.7 MB, free: 0.7148 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1351, allocations: 4 kB / 354.7 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.9e-05/0.1352, allocations: 27.92 kB / 354.7 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004039/0.1356, allocations: 269.7 kB / 355 MB, free: 376 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002252/0.1358, allocations: 138.2 kB / 355.1 MB, free: 200 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.39e-05/0.1359, allocations: 37.77 kB / 355.1 MB, free: 156 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.892e-05/0.1359, allocations: 3.938 kB / 355.2 MB, free: 152 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.589e-05/0.136, allocations: 30.56 kB / 355.2 MB, free: 112 kB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.373e-06/0.136, allocations: 0 / 355.2 MB, free: 112 kB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000296/0.1363, allocations: 97.72 kB / 355.3 MB, free: 8 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.794e-05/0.1364, allocations: 81.11 kB / 355.4 MB, free: 15.91 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000149/0.1365, allocations: 136 kB / 355.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.728e-05/0.1365, allocations: 25.7 kB / 355.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.1366, allocations: 96.06 kB / 355.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.964e-05/0.1366, allocations: 3.906 kB / 355.6 MB, free: 15.64 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.836e-05/0.1367, allocations: 9.719 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000142/0.1368, allocations: 330.8 kB / 355.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.897e-05/0.1369, allocations: 11.98 kB / 356 MB, free: 15.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.173e-05/0.1369, allocations: 35.42 kB / 356 MB, free: 15.23 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001151/0.1371, allocations: 51.36 kB / 356 MB, free: 15.17 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.1371, allocations: 4 kB / 356 MB, free: 15.16 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001577/0.1372, allocations: 65.62 kB / 356.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1373, allocations: 16.11 kB / 356.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1373, allocations: 0 / 356.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.472e-05/0.1373, allocations: 0 / 356.1 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.121e-05/0.1374, allocations: 8 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.1374, allocations: 4 kB / 356.1 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.394e-05/0.1374, allocations: 4 kB / 356.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.1375, allocations: 3.984 kB / 356.1 MB, free: 15.06 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 0.0001007/0.1376, allocations: 121.7 kB / 356.3 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.635e-05/0.1377, allocations: 49.59 kB / 356.3 MB, free: 14.88 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.035e-05/0.1377, allocations: 16.25 kB / 356.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.1377, allocations: 4 kB / 356.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.1377, allocations: 4 kB / 356.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.1377, allocations: 0 / 356.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000198/0.1379, allocations: 169.6 kB / 356.5 MB, free: 14.63 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.138, allocations: 3.984 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.526e-05/0.138, allocations: 8 kB / 356.5 MB, free: 14.62 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.541e-06/0.138, allocations: 4 kB / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.138, allocations: 0 / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.927e-06/0.1381, allocations: 0 / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1381, allocations: 7.938 kB / 356.5 MB, free: 14.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002137/0.1383, allocations: 172.2 kB / 356.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.556e-05/0.1384, allocations: 93 kB / 356.8 MB, free: 14.31 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.613e-05/0.1384, allocations: 4 kB / 356.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.208e-05/0.1385, allocations: 7.984 kB / 356.8 MB, free: 14.3 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.038e-05/0.1385, allocations: 4 kB / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.1385, allocations: 0 / 356.8 MB, free: 14.29 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.53e-05/0.1386, allocations: 114 kB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1386, allocations: 3.938 kB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002336/0.1389, allocations: 8 kB / 356.9 MB, free: 14.17 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.0005084/0.1394, allocations: 0.7092 MB / 357.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001521/0.1395, allocations: 39.92 kB / 357.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.1395, allocations: 256 / 357.7 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.222e-05/0.1396, allocations: 15.98 kB / 357.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004117/0.14, allocations: 22.77 kB / 357.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001618/0.1416, allocations: 1.389 MB / 359.1 MB, free: 11.86 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003585/0.142, allocations: 0.6965 MB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.794e-05/0.1421, allocations: 4 kB / 359.8 MB, free: 11.14 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.119e-05/0.1421, allocations: 15.42 kB / 359.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of SimCode: time 5.61e-07/0.1421, allocations: 0 / 359.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01386/0.156, allocations: 1.312 MB / 361.1 MB, free: 9.938 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002379/0.1563, allocations: 210.8 kB / 361.3 MB, free: 9.684 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.04/2.196, allocations: 3.938 kB / 361.3 MB, free: 9.68 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches