Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,fileNamePrefix="Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001932/0.001932, allocations: 109.2 kB / 17.21 MB, free: 6.27 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002224/0.002224, allocations: 213.7 kB / 18.14 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.353/1.353, allocations: 227.4 MB / 246.3 MB, free: 9.051 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 63.62 kB / 306.4 MB, free: 0.7148 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1068/0.108, allocations: 50.53 MB / 356.9 MB, free: 14.18 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.003472/0.1115, allocations: 1.624 MB / 358.5 MB, free: 12.54 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001071/0.1126, allocations: 0.5221 MB / 359 MB, free: 12.02 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.648e-05/0.1127, allocations: 4 kB / 359 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 5.245e-05/0.1128, allocations: 3.938 kB / 359 MB, free: 12.01 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001342/0.1129, allocations: 7.922 kB / 359.1 MB, free: 12 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003098/0.1132, allocations: 47.89 kB / 359.1 MB, free: 11.95 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.608e-05/0.1133, allocations: 39.86 kB / 359.1 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001046/0.1134, allocations: 11.98 kB / 359.1 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001344/0.1136, allocations: 31.84 kB / 359.2 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.066e-05/0.1137, allocations: 19.86 kB / 359.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.1137, allocations: 0 / 359.2 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.848e-05/0.1137, allocations: 8 kB / 359.2 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.022e-05/0.1138, allocations: 11.92 kB / 359.2 MB, free: 11.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.375e-05/0.1138, allocations: 23.88 kB / 359.2 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001289/0.114, allocations: 51.75 kB / 359.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.831e-06/0.114, allocations: 0 / 359.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.114, allocations: 0 / 359.3 MB, free: 11.76 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.114, allocations: 0 / 359.3 MB, free: 11.76 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005454/0.1146, allocations: 379.4 kB / 359.7 MB, free: 11.34 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.574e-05/0.1146, allocations: 8.031 kB / 359.7 MB, free: 11.33 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.727e-05/0.1147, allocations: 38.69 kB / 359.7 MB, free: 11.29 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001687/0.1148, allocations: 16.83 kB / 359.7 MB, free: 11.27 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002159/0.1151, allocations: 188.2 kB / 359.9 MB, free: 11.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.486e-06/0.1151, allocations: 8.375 kB / 359.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.185e-05/0.1151, allocations: 384 / 359.9 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.1154, allocations: 101.2 kB / 360 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1154, allocations: 0 / 360 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.956e-06/0.1154, allocations: 0 / 360 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.1154, allocations: 0 / 360 MB, free: 10.92 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.862e-05/0.1155, allocations: 23.98 kB / 360 MB, free: 10.9 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003567/0.1159, allocations: 261.6 kB / 360.3 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.653e-05/0.116, allocations: 41.22 kB / 360.3 MB, free: 10.53 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.299e-05/0.1161, allocations: 29.77 kB / 360.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.1161, allocations: 3.938 kB / 360.4 MB, free: 10.49 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.911e-05/0.1161, allocations: 30.56 kB / 360.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1161, allocations: 3.938 kB / 360.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002746/0.1164, allocations: 65.61 kB / 360.5 MB, free: 10.38 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.495e-05/0.1165, allocations: 85.36 kB / 360.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001343/0.1166, allocations: 137.2 kB / 360.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.441e-05/0.1167, allocations: 25.7 kB / 360.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.766e-05/0.1167, allocations: 96.03 kB / 360.8 MB, free: 10.01 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.1167, allocations: 3.938 kB / 360.8 MB, free: 10 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.469e-05/0.1168, allocations: 13.72 kB / 360.8 MB, free: 9.984 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001253/0.1169, allocations: 318.8 kB / 361.1 MB, free: 9.664 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.225e-05/0.117, allocations: 11.98 kB / 361.1 MB, free: 9.652 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.789e-05/0.117, allocations: 21.72 kB / 361.2 MB, free: 9.625 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.782e-05/0.1171, allocations: 33.64 kB / 361.2 MB, free: 9.586 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.1171, allocations: 4 kB / 361.2 MB, free: 9.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001221/0.1172, allocations: 57.67 kB / 361.3 MB, free: 9.52 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.61e-05/0.1173, allocations: 8.031 kB / 361.3 MB, free: 9.512 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1173, allocations: 3.938 kB / 361.3 MB, free: 9.508 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.1173, allocations: 4 kB / 361.3 MB, free: 9.504 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-05/0.1174, allocations: 7.938 kB / 361.3 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.073e-06/0.1174, allocations: 0 / 361.3 MB, free: 9.496 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.62e-05/0.1174, allocations: 3.984 kB / 361.3 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.1174, allocations: 4 kB / 361.3 MB, free: 9.488 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 9.359e-05/0.1175, allocations: 121.7 kB / 361.4 MB, free: 9.359 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.007e-05/0.1176, allocations: 45.59 kB / 361.5 MB, free: 9.309 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.274e-05/0.1177, allocations: 11.83 kB / 361.5 MB, free: 9.293 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.1177, allocations: 4 kB / 361.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.1177, allocations: 0 / 361.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.125e-06/0.1177, allocations: 0 / 361.5 MB, free: 9.289 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.1179, allocations: 165.6 kB / 361.6 MB, free: 9.078 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.1179, allocations: 4 kB / 361.6 MB, free: 9.074 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.606e-05/0.1179, allocations: 7.984 kB / 361.6 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.1179, allocations: 0 / 361.6 MB, free: 9.066 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.895e-06/0.118, allocations: 3.938 kB / 361.6 MB, free: 9.062 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.118, allocations: 4.031 kB / 361.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.118, allocations: 3.984 kB / 361.7 MB, free: 9.055 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.1181, allocations: 160.2 kB / 361.8 MB, free: 8.879 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.045e-05/0.1182, allocations: 93 kB / 361.9 MB, free: 8.77 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.1183, allocations: 3.938 kB / 361.9 MB, free: 8.766 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.901e-05/0.1183, allocations: 7.984 kB / 361.9 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.1184, allocations: 4.031 kB / 361.9 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.282e-06/0.1184, allocations: 4 kB / 361.9 MB, free: 8.75 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.069e-05/0.1185, allocations: 107.2 kB / 362 MB, free: 8.645 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1185, allocations: 0 / 362 MB, free: 8.645 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002205/0.1187, allocations: 4 kB / 362 MB, free: 8.641 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.0004386/0.1191, allocations: 0.6976 MB / 362.7 MB, free: 7.914 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001272/0.1193, allocations: 19.98 kB / 362.7 MB, free: 7.895 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.1193, allocations: 3.938 kB / 362.7 MB, free: 7.891 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.536e-05/0.1193, allocations: 8 kB / 362.8 MB, free: 7.883 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003929/0.1197, allocations: 16.23 kB / 362.8 MB, free: 7.867 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001298/0.121, allocations: 1.321 MB / 364.1 MB, free: 6.457 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004255/0.1215, allocations: 0.6848 MB / 364.8 MB, free: 5.746 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.201e-05/0.1215, allocations: 4.25 kB / 364.8 MB, free: 5.742 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.124e-05/0.1216, allocations: 19.38 kB / 364.8 MB, free: 5.723 MB / 302.1 MB Notification: Performance of SimCode: time 5.41e-07/0.1216, allocations: 3.938 kB / 364.8 MB, free: 5.719 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.1331, allocations: 1.318 MB / 366.1 MB, free: 4.52 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.1334, allocations: 214.8 kB / 366.3 MB, free: 4.262 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/1.992, allocations: 8.062 kB / 366.3 MB, free: 4.254 MB / 302.1 MB (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat --tempDir=temp_Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Clocked_Examples_Elementary_RealSignals_SampleClocked.fmu > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches