Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample",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.001161/0.001161, allocations: 89.44 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.001364/0.001364, allocations: 177.8 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.606/1.606, allocations: 223.3 MB / 241.6 MB, free: 200 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003712/0.0003712, allocations: 7.984 kB / 301.5 MB, free: 6.035 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1214, allocations: 50.41 MB / 351.9 MB, free: 3.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.002483/0.124, allocations: 1.272 MB / 353.2 MB, free: 2.336 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001068/0.1251, allocations: 486.8 kB / 353.7 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001231/0.1252, allocations: 0 / 353.7 MB, free: 1.855 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.623e-05/0.1253, allocations: 3.984 kB / 353.7 MB, free: 1.852 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001582/0.1255, allocations: 7.938 kB / 353.7 MB, free: 1.844 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003645/0.1258, allocations: 47.83 kB / 353.7 MB, free: 1.797 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001208/0.126, allocations: 43.86 kB / 353.8 MB, free: 1.754 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.1261, allocations: 15.98 kB / 353.8 MB, free: 1.738 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.793e-05/0.1262, allocations: 19.86 kB / 353.8 MB, free: 1.719 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.363e-05/0.1263, allocations: 23.86 kB / 353.8 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.803e-05/0.1263, allocations: 0 / 353.8 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.248e-05/0.1263, allocations: 0 / 353.8 MB, free: 1.695 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.564e-05/0.1264, allocations: 8 kB / 353.9 MB, free: 1.688 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.058e-05/0.1264, allocations: 57.48 kB / 353.9 MB, free: 1.625 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001129/0.1266, allocations: 51.75 kB / 354 MB, free: 1.574 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1266, allocations: 3.938 kB / 354 MB, free: 1.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1266, allocations: 0 / 354 MB, free: 1.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.668e-06/0.1266, allocations: 0 / 354 MB, free: 1.57 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005239/0.1271, allocations: 363.5 kB / 354.3 MB, free: 1.168 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.1272, allocations: 8.031 kB / 354.3 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.364e-05/0.1272, allocations: 30.75 kB / 354.4 MB, free: 1.121 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.599e-05/0.1273, allocations: 12.84 kB / 354.4 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1275, allocations: 202.8 kB / 354.6 MB, free: 0.875 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.1275, allocations: 8.375 kB / 354.6 MB, free: 0.8672 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.433e-05/0.1276, allocations: 12.3 kB / 354.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003084/0.1279, allocations: 113.1 kB / 354.7 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1279, allocations: 0 / 354.7 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.1279, allocations: 4 kB / 354.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1279, allocations: 0 / 354.7 MB, free: 0.7227 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.749e-05/0.128, allocations: 23.98 kB / 354.7 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000367/0.1284, allocations: 261.7 kB / 355 MB, free: 400 kB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.333e-05/0.1285, allocations: 45.22 kB / 355 MB, free: 336 kB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.667e-05/0.1286, allocations: 25.77 kB / 355.1 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.251e-05/0.1286, allocations: 0 / 355.1 MB, free: 304 kB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.377e-05/0.1286, allocations: 34.5 kB / 355.1 MB, free: 260 kB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 3.116e-06/0.1286, allocations: 4 kB / 355.1 MB, free: 256 kB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002887/0.1289, allocations: 77.52 kB / 355.2 MB, free: 172 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.331e-05/0.129, allocations: 77.11 kB / 355.2 MB, free: 76 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001579/0.1292, allocations: 142.1 kB / 355.4 MB, free: 15.92 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.1292, allocations: 25.7 kB / 355.4 MB, free: 15.89 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.21e-05/0.1293, allocations: 92.33 kB / 355.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.1293, allocations: 0 / 355.5 MB, free: 15.8 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.533e-05/0.1293, allocations: 17.72 kB / 355.5 MB, free: 15.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001225/0.1295, allocations: 318.8 kB / 355.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.119e-05/0.1295, allocations: 8 kB / 355.8 MB, free: 15.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.748e-05/0.1296, allocations: 25.7 kB / 355.9 MB, free: 15.41 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.994e-05/0.1297, allocations: 37.7 kB / 355.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.1297, allocations: 0 / 355.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001331/0.1298, allocations: 57.59 kB / 355.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.1298, allocations: 8.062 kB / 356 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.841e-06/0.1299, allocations: 4 kB / 356 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.33e-05/0.1299, allocations: 0 / 356 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.553e-05/0.13, allocations: 4 kB / 356 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.13, allocations: 11.92 kB / 356 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/0.13, allocations: 0 / 356 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.137e-05/0.13, allocations: 4 kB / 356 MB, free: 15.28 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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.000104/0.1301, allocations: 117.8 kB / 356.1 MB, free: 15.15 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.532e-05/0.1302, allocations: 49.53 kB / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.664e-05/0.1303, allocations: 7.875 kB / 356.1 MB, free: 15.09 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.1303, allocations: 4 kB / 356.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.1303, allocations: 3.938 kB / 356.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.1303, allocations: 0 / 356.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001791/0.1305, allocations: 165.6 kB / 356.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.1305, allocations: 0 / 356.3 MB, free: 14.87 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.931e-05/0.1305, allocations: 19.98 kB / 356.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1306, allocations: 0 / 356.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.1306, allocations: 0 / 356.3 MB, free: 14.85 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.1306, allocations: 4.031 kB / 356.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.1306, allocations: 7.938 kB / 356.4 MB, free: 14.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001763/0.1308, allocations: 156.2 kB / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.175e-05/0.1308, allocations: 93 kB / 356.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.1309, allocations: 7.984 kB / 356.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.264e-05/0.1309, allocations: 4.031 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.131, allocations: 4 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.131, allocations: 0 / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.779e-05/0.1311, allocations: 109.8 kB / 356.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1311, allocations: 0 / 356.7 MB, free: 14.43 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.1313, allocations: 4 kB / 356.7 MB, free: 14.43 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 (2): * Single equations (assignments): 2 * 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.0004468/0.1317, allocations: 0.7014 MB / 357.4 MB, free: 13.7 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000134/0.1319, allocations: 24.08 kB / 357.4 MB, free: 13.68 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.1319, allocations: 4.062 kB / 357.4 MB, free: 13.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.141e-05/0.132, allocations: 11.94 kB / 357.5 MB, free: 13.66 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.1323, allocations: 16.02 kB / 357.5 MB, free: 13.64 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001354/0.1337, allocations: 1.345 MB / 358.8 MB, free: 12.2 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002539/0.134, allocations: 0.6927 MB / 359.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.614e-05/0.134, allocations: 3.984 kB / 359.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.135e-05/0.1341, allocations: 23.42 kB / 359.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of SimCode: time 2.515e-06/0.1341, allocations: 0 / 359.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01207/0.1462, allocations: 1.298 MB / 360.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001994/0.1464, allocations: 214.1 kB / 361 MB, free: 10.05 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.989/2.136, allocations: 0 / 361 MB, free: 10.05 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample_fmu --startTime=0 --stopTime=0.08 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_ClockSignals_SuperSample.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches