Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.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.Sample3,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,fileNamePrefix="Modelica_4_0_0_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 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 116.7 kB / 16.63 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.00112/0.00112, allocations: 189.8 kB / 17.55 MB, free: 5.934 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.322/1.322, allocations: 222.9 MB / 241.2 MB, free: 15.42 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001034/0.001034, allocations: 47.36 kB / 300.2 MB, free: 6.09 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1112/0.1122, allocations: 49.44 MB / 349.7 MB, free: 4.645 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3): time 0.003411/0.1157, allocations: 1.738 MB / 351.4 MB, free: 2.887 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004793/0.1162, allocations: 167.4 kB / 351.6 MB, free: 2.723 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001148/0.1163, allocations: 4 kB / 351.6 MB, free: 2.719 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.668e-05/0.1164, allocations: 7.922 kB / 351.6 MB, free: 2.711 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001519/0.1166, allocations: 7.922 kB / 351.6 MB, free: 2.703 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002843/0.1169, allocations: 40.8 kB / 351.6 MB, free: 2.664 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001202/0.117, allocations: 55.89 kB / 351.7 MB, free: 2.609 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001296/0.1171, allocations: 27.98 kB / 351.7 MB, free: 2.582 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.324e-05/0.1172, allocations: 19.88 kB / 351.7 MB, free: 2.562 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.782e-05/0.1172, allocations: 31.84 kB / 351.8 MB, free: 2.531 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.964e-05/0.1173, allocations: 4 kB / 351.8 MB, free: 2.527 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.373e-05/0.1173, allocations: 4 kB / 351.8 MB, free: 2.523 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 5.168e-05/0.1173, allocations: 19.92 kB / 351.8 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.455e-05/0.1174, allocations: 35.73 kB / 351.8 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001347/0.1175, allocations: 67.72 kB / 351.9 MB, free: 2.402 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.1176, allocations: 4 kB / 351.9 MB, free: 2.398 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1176, allocations: 0 / 351.9 MB, free: 2.398 MB / 286.1 MB Notification: Performance of Transformations before backend: time 8.526e-06/0.1176, allocations: 0 / 351.9 MB, free: 2.398 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.000536/0.1181, allocations: 391.3 kB / 352.3 MB, free: 1.965 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.216e-05/0.1182, allocations: 12.03 kB / 352.3 MB, free: 1.953 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.127e-05/0.1182, allocations: 34.75 kB / 352.3 MB, free: 1.91 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.42e-05/0.1183, allocations: 12.84 kB / 352.4 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001941/0.1185, allocations: 194.6 kB / 352.5 MB, free: 1.672 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1185, allocations: 8.375 kB / 352.5 MB, free: 1.664 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.1185, allocations: 8.375 kB / 352.6 MB, free: 1.656 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003578/0.1189, allocations: 162.3 kB / 352.7 MB, free: 1.477 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.1189, allocations: 3.938 kB / 352.7 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.1189, allocations: 8 kB / 352.7 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.1189, allocations: 7.984 kB / 352.7 MB, free: 1.457 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001136/0.119, allocations: 39.86 kB / 352.8 MB, free: 1.418 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004017/0.1194, allocations: 373.7 kB / 353.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002405/0.1197, allocations: 115.8 kB / 353.3 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000101/0.1198, allocations: 58.69 kB / 353.3 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.503e-05/0.1198, allocations: 0 / 353.3 MB, free: 0.7891 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.1199, allocations: 42.56 kB / 353.4 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of pre-optimization done (n=10): time 9.52e-07/0.1199, allocations: 0 / 353.4 MB, free: 0.7383 MB / 286.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003501/0.1202, allocations: 125.4 kB / 353.5 MB, free: 0.6094 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.221e-05/0.1203, allocations: 110.8 kB / 353.6 MB, free: 488 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001135/0.1204, allocations: 137.8 kB / 353.7 MB, free: 340 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1205, allocations: 29.95 kB / 353.7 MB, free: 304 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.039e-05/0.1205, allocations: 88.14 kB / 353.8 MB, free: 212 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.101e-05/0.1205, allocations: 7.906 kB / 353.8 MB, free: 204 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.333e-05/0.1206, allocations: 29.7 kB / 353.9 MB, free: 168 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1207, allocations: 318.8 kB / 354.2 MB, free: 15.84 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.112e-05/0.1208, allocations: 15.98 kB / 354.2 MB, free: 15.83 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-05/0.1209, allocations: 75.66 kB / 354.3 MB, free: 15.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001284/0.121, allocations: 91.59 kB / 354.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.147e-06/0.121, allocations: 4 kB / 354.4 MB, free: 15.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001856/0.1212, allocations: 109.4 kB / 354.5 MB, free: 15.49 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1212, allocations: 8 kB / 354.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1212, allocations: 0 / 354.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.1213, allocations: 4 kB / 354.5 MB, free: 15.48 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.037e-05/0.1213, allocations: 19.98 kB / 354.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.1213, allocations: 4 kB / 354.5 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.902e-05/0.1214, allocations: 4 kB / 354.5 MB, free: 15.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.626e-06/0.1214, allocations: 4 kB / 354.5 MB, free: 15.45 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 9.477e-05/0.1215, allocations: 137.9 kB / 354.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001203/0.1216, allocations: 77.66 kB / 354.7 MB, free: 15.22 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.495e-05/0.1217, allocations: 16.7 kB / 354.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.795e-06/0.1217, allocations: 0 / 354.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.413e-06/0.1217, allocations: 4 kB / 354.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.1217, allocations: 3.938 kB / 354.7 MB, free: 15.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.122, allocations: 181.6 kB / 354.9 MB, free: 14.97 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.122, allocations: 4 kB / 354.9 MB, free: 14.96 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.512e-05/0.122, allocations: 20.11 kB / 354.9 MB, free: 14.95 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.1221, allocations: 4 kB / 355 MB, free: 14.94 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.1221, allocations: 11.94 kB / 355 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.447e-06/0.1221, allocations: 0 / 355 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.544e-06/0.1221, allocations: 4 kB / 355 MB, free: 14.93 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.1224, allocations: 312.2 kB / 355.3 MB, free: 14.6 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.75e-05/0.1225, allocations: 100.9 kB / 355.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.1225, allocations: 0 / 355.4 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.1227, allocations: 8 kB / 355.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.704e-05/0.1227, allocations: 3.984 kB / 355.4 MB, free: 14.47 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.1227, allocations: 4 kB / 355.4 MB, free: 14.46 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.324e-05/0.1228, allocations: 106.4 kB / 355.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of sort global known variables: time 4.81e-07/0.1228, allocations: 0 / 355.5 MB, free: 14.36 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002935/0.1231, allocations: 15.94 kB / 355.5 MB, free: 14.35 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.0005929/0.1237, allocations: 0.8497 MB / 356.4 MB, free: 13.46 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001819/0.1239, allocations: 71.84 kB / 356.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.1239, allocations: 0 / 356.4 MB, free: 13.39 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-05/0.1239, allocations: 11.98 kB / 356.4 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.0005222/0.1245, allocations: 62.62 kB / 356.5 MB, free: 13.32 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.126, allocations: 1.606 MB / 358.1 MB, free: 11.58 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.1263, allocations: 0.7041 MB / 358.8 MB, free: 10.85 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.833e-05/0.1263, allocations: 4.672 kB / 358.8 MB, free: 10.84 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.433e-05/0.1264, allocations: 23.42 kB / 358.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1264, allocations: 0 / 358.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.1427, allocations: 1.723 MB / 360.6 MB, free: 9.227 MB / 302.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002775/0.143, allocations: 215.8 kB / 360.8 MB, free: 8.965 MB / 302.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.03/2.173, allocations: 3.938 kB / 360.8 MB, free: 8.961 MB / 302.1 MB (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3_fmu --startTime=0 --stopTime=0.2 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample3.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches