Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.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.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep",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.001158/0.001158, allocations: 103.5 kB / 16.62 MB, free: 6.812 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.001291/0.001292, allocations: 193.8 kB / 17.55 MB, free: 5.953 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.414/1.414, allocations: 222.9 MB / 241.2 MB, free: 15.48 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001095/0.001095, allocations: 42.36 kB / 300.2 MB, free: 6.121 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1403/0.1414, allocations: 49.44 MB / 349.7 MB, free: 4.676 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep): time 0.004063/0.1456, allocations: 1.526 MB / 351.2 MB, free: 3.133 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000378/0.146, allocations: 99.69 kB / 351.3 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.157e-05/0.1461, allocations: 0 / 351.3 MB, free: 3.035 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.491e-05/0.1462, allocations: 7.922 kB / 351.3 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.863e-05/0.1463, allocations: 0 / 351.3 MB, free: 3.027 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003234/0.1466, allocations: 17.73 kB / 351.3 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.1467, allocations: 27.92 kB / 351.4 MB, free: 2.984 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001866/0.1469, allocations: 11.94 kB / 351.4 MB, free: 2.973 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.697e-05/0.147, allocations: 11.98 kB / 351.4 MB, free: 2.961 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.438e-05/0.1471, allocations: 7.938 kB / 351.4 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.499e-05/0.1471, allocations: 0 / 351.4 MB, free: 2.953 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.658e-05/0.1471, allocations: 8 kB / 351.4 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.888e-05/0.1472, allocations: 11.92 kB / 351.4 MB, free: 2.934 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.1472, allocations: 19.86 kB / 351.4 MB, free: 2.914 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001361/0.1474, allocations: 23.91 kB / 351.5 MB, free: 2.891 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.1474, allocations: 7.938 kB / 351.5 MB, free: 2.883 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1474, allocations: 0 / 351.5 MB, free: 2.883 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.1474, allocations: 0 / 351.5 MB, free: 2.883 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005622/0.148, allocations: 339.7 kB / 351.8 MB, free: 2.5 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.971e-05/0.1481, allocations: 8.031 kB / 351.8 MB, free: 2.492 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.365e-05/0.1481, allocations: 38.75 kB / 351.8 MB, free: 2.445 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.583e-05/0.1482, allocations: 8.828 kB / 351.9 MB, free: 2.438 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000338/0.1485, allocations: 172.4 kB / 352 MB, free: 2.23 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.1486, allocations: 4.375 kB / 352 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.1486, allocations: 384 / 352 MB, free: 2.227 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003478/0.1489, allocations: 111.8 kB / 352.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1489, allocations: 7.938 kB / 352.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.997e-06/0.149, allocations: 0 / 352.1 MB, free: 2.098 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.149, allocations: 4 kB / 352.1 MB, free: 2.094 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.804e-05/0.1491, allocations: 15.92 kB / 352.2 MB, free: 2.078 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001695/0.1492, allocations: 169.6 kB / 352.3 MB, free: 1.863 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001481/0.1494, allocations: 50.56 kB / 352.4 MB, free: 1.805 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.295e-05/0.1495, allocations: 28.92 kB / 352.4 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.004e-05/0.1495, allocations: 0 / 352.4 MB, free: 1.773 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.233e-05/0.1495, allocations: 30.56 kB / 352.4 MB, free: 1.734 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.1495, allocations: 0 / 352.4 MB, free: 1.734 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002625/0.1498, allocations: 73.55 kB / 352.5 MB, free: 1.656 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.407e-05/0.1499, allocations: 59.39 kB / 352.6 MB, free: 1.586 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.106e-05/0.15, allocations: 101.9 kB / 352.7 MB, free: 1.477 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.331e-05/0.15, allocations: 29.7 kB / 352.7 MB, free: 1.441 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.744e-05/0.15, allocations: 88.12 kB / 352.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.596e-06/0.1501, allocations: 0 / 352.8 MB, free: 1.352 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.783e-05/0.1501, allocations: 17.72 kB / 352.8 MB, free: 1.328 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001264/0.1502, allocations: 310.8 kB / 353.1 MB, free: 1.016 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.558e-05/0.1503, allocations: 4 kB / 353.1 MB, free: 1.012 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.419e-05/0.1503, allocations: 35.61 kB / 353.1 MB, free: 0.9648 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.511e-05/0.1504, allocations: 31.38 kB / 353.2 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.1504, allocations: 0 / 353.2 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.913e-05/0.1505, allocations: 65.66 kB / 353.2 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.1505, allocations: 11.94 kB / 353.2 MB, free: 0.8398 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.1505, allocations: 3.984 kB / 353.2 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.1505, allocations: 0 / 353.2 MB, free: 0.8359 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.116e-05/0.1506, allocations: 8 kB / 353.3 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.057e-06/0.1506, allocations: 0 / 353.3 MB, free: 0.8281 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.687e-05/0.1507, allocations: 7.938 kB / 353.3 MB, free: 0.8203 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.745e-06/0.1507, allocations: 0 / 353.3 MB, free: 0.8203 MB / 286.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.0001261/0.1508, allocations: 117.8 kB / 353.4 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001213/0.1509, allocations: 65.53 kB / 353.4 MB, free: 0.625 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.627e-05/0.151, allocations: 7.906 kB / 353.4 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.151, allocations: 4 kB / 353.5 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.151, allocations: 0 / 353.5 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.151, allocations: 0 / 353.5 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001208/0.1511, allocations: 157.7 kB / 353.6 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.1512, allocations: 0 / 353.6 MB, free: 412 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.114e-05/0.1512, allocations: 8 kB / 353.6 MB, free: 404 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.612e-06/0.1512, allocations: 3.938 kB / 353.6 MB, free: 400 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.1512, allocations: 3.938 kB / 353.6 MB, free: 396 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.1512, allocations: 4 kB / 353.6 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.1512, allocations: 0 / 353.6 MB, free: 392 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001432/0.1514, allocations: 88.95 kB / 353.7 MB, free: 284 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.545e-05/0.1515, allocations: 77.11 kB / 353.8 MB, free: 188 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.1515, allocations: 12.17 kB / 353.8 MB, free: 176 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.572e-05/0.1515, allocations: 4 kB / 353.8 MB, free: 172 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.302e-06/0.1515, allocations: 0 / 353.8 MB, free: 172 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.1516, allocations: 4 kB / 353.8 MB, free: 168 kB / 286.1 MB Notification: Performance of sorting global known variables: time 4.636e-05/0.1516, allocations: 87.28 kB / 353.9 MB, free: 80 kB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1516, allocations: 0 / 353.9 MB, free: 80 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002011/0.1518, allocations: 4 kB / 353.9 MB, free: 76 kB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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.0004772/0.1523, allocations: 0.6241 MB / 354.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001257/0.1524, allocations: 31.92 kB / 354.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.1525, allocations: 0 / 354.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.012e-06/0.1525, allocations: 0 / 354.6 MB, free: 15.39 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002359/0.1527, allocations: 23.94 kB / 354.6 MB, free: 15.37 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001077/0.1538, allocations: 1.162 MB / 355.7 MB, free: 14.1 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002698/0.1541, allocations: 0.6808 MB / 356.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.484e-05/0.1541, allocations: 3.938 kB / 356.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.133e-05/0.1542, allocations: 15.44 kB / 356.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of SimCode: time 3.4e-07/0.1542, allocations: 0 / 356.4 MB, free: 13.38 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01315/0.1673, allocations: 1.145 MB / 357.6 MB, free: 12.37 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002591/0.1676, allocations: 215.2 kB / 357.8 MB, free: 12.12 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.141/2.309, allocations: 3.875 kB / 357.8 MB, free: 12.12 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_TimeBasedStep.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches