Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001339/0.001339, allocations: 123.4 kB / 17.79 MB, free: 5.246 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 208.3 kB / 20.75 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 230.6 MB / 254.1 MB, free: 15.07 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001644/0.001644, allocations: 59.92 kB / 373 MB, free: 10.17 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09952/0.1012, allocations: 53.31 MB / 426.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.00326/0.1044, allocations: 1.595 MB / 427.9 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00105/0.1055, allocations: 0.5376 MB / 428.5 MB, free: 2.617 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001025/0.1056, allocations: 3.938 kB / 428.5 MB, free: 2.613 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 5.248e-05/0.1056, allocations: 7.922 kB / 428.5 MB, free: 2.605 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001204/0.1057, allocations: 7.938 kB / 428.5 MB, free: 2.598 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003063/0.1061, allocations: 59.81 kB / 428.5 MB, free: 2.539 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001138/0.1062, allocations: 51.78 kB / 428.6 MB, free: 2.488 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001027/0.1063, allocations: 11.98 kB / 428.6 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001226/0.1064, allocations: 31.86 kB / 428.6 MB, free: 2.445 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.773e-05/0.1065, allocations: 19.86 kB / 428.6 MB, free: 2.426 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.762e-05/0.1065, allocations: 4 kB / 428.6 MB, free: 2.422 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.571e-05/0.1065, allocations: 4 kB / 428.6 MB, free: 2.418 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.271e-05/0.1066, allocations: 15.92 kB / 428.7 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.265e-05/0.1066, allocations: 31.8 kB / 428.7 MB, free: 2.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001541/0.1068, allocations: 55.73 kB / 428.8 MB, free: 2.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.1068, allocations: 4 kB / 428.8 MB, free: 2.312 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1068, allocations: 4 kB / 428.8 MB, free: 2.309 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.277e-06/0.1068, allocations: 0 / 428.8 MB, free: 2.309 MB / 350.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.0005129/0.1073, allocations: 375.1 kB / 429.1 MB, free: 1.895 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.1073, allocations: 11.97 kB / 429.1 MB, free: 1.883 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.588e-05/0.1074, allocations: 30.75 kB / 429.2 MB, free: 1.844 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000151/0.1075, allocations: 24.83 kB / 429.2 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002978/0.1078, allocations: 200.1 kB / 429.4 MB, free: 1.586 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.1078, allocations: 8.375 kB / 429.4 MB, free: 1.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.51e-05/0.1079, allocations: 4.375 kB / 429.4 MB, free: 1.574 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002924/0.1082, allocations: 121.1 kB / 429.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1082, allocations: 0 / 429.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.266e-06/0.1082, allocations: 0 / 429.5 MB, free: 1.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.1082, allocations: 8 kB / 429.5 MB, free: 1.43 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.662e-05/0.1083, allocations: 23.92 kB / 429.5 MB, free: 1.406 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003371/0.1086, allocations: 265.7 kB / 429.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002261/0.1088, allocations: 142.2 kB / 429.9 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.747e-05/0.1089, allocations: 25.77 kB / 430 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.1089, allocations: 0 / 430 MB, free: 0.8867 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.1089, allocations: 38.56 kB / 430 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.1089, allocations: 0 / 430 MB, free: 0.8398 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002726/0.1092, allocations: 81.64 kB / 430.1 MB, free: 0.7539 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.962e-05/0.1093, allocations: 89.14 kB / 430.2 MB, free: 0.6484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.1094, allocations: 135.7 kB / 430.3 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.1094, allocations: 25.7 kB / 430.3 MB, free: 484 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.105e-05/0.1095, allocations: 88.12 kB / 430.4 MB, free: 392 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.1095, allocations: 7.953 kB / 430.4 MB, free: 384 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.805e-05/0.1095, allocations: 17.72 kB / 430.4 MB, free: 360 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.1097, allocations: 322.8 kB / 430.8 MB, free: 28 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.299e-05/0.1097, allocations: 12 kB / 430.8 MB, free: 16 kB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.028e-05/0.1098, allocations: 39.55 kB / 430.8 MB, free: 15.96 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.765e-05/0.1099, allocations: 47.36 kB / 430.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1099, allocations: 0 / 430.9 MB, free: 15.91 MB / 366.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001515/0.11, allocations: 73.56 kB / 430.9 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.11, allocations: 4 kB / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.11, allocations: 4.094 kB / 430.9 MB, free: 15.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.1101, allocations: 7.922 kB / 430.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.456e-05/0.1101, allocations: 8 kB / 431 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.1101, allocations: 0 / 431 MB, free: 15.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.39e-05/0.1102, allocations: 12.11 kB / 431 MB, free: 15.79 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.242e-06/0.1102, allocations: 0 / 431 MB, free: 15.79 MB / 366.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 9.462e-05/0.1103, allocations: 125.7 kB / 431.1 MB, free: 15.66 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.191e-05/0.1104, allocations: 49.64 kB / 431.1 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.538e-05/0.1104, allocations: 8.25 kB / 431.1 MB, free: 15.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.1104, allocations: 4 kB / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1104, allocations: 0 / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.1104, allocations: 0 / 431.1 MB, free: 15.58 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001855/0.1106, allocations: 181.5 kB / 431.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1106, allocations: 4 kB / 431.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.35e-05/0.1106, allocations: 4 kB / 431.3 MB, free: 15.35 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.294e-06/0.1106, allocations: 4 kB / 431.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.562e-06/0.1107, allocations: 0 / 431.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.1107, allocations: 3.984 kB / 431.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1107, allocations: 0 / 431.3 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001991/0.1109, allocations: 176.2 kB / 431.5 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.731e-05/0.1109, allocations: 96.98 kB / 431.6 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.1109, allocations: 4 kB / 431.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.463e-05/0.111, allocations: 0 / 431.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.129e-05/0.111, allocations: 4 kB / 431.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.968e-06/0.111, allocations: 0 / 431.6 MB, free: 15.03 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.4e-05/0.1111, allocations: 113.1 kB / 431.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1111, allocations: 0 / 431.7 MB, free: 14.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002322/0.1114, allocations: 8 kB / 431.7 MB, free: 14.91 MB / 366.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.0005036/0.1119, allocations: 0.7054 MB / 432.4 MB, free: 14.18 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000152/0.112, allocations: 31.91 kB / 432.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.112, allocations: 8.25 kB / 432.5 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 3.758e-05/0.1121, allocations: 4 kB / 432.5 MB, free: 14.13 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003406/0.1124, allocations: 26.2 kB / 432.5 MB, free: 14.11 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00148/0.1139, allocations: 1.368 MB / 433.9 MB, free: 12.64 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.1142, allocations: 0.6923 MB / 434.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 3.005e-05/0.1142, allocations: 4.234 kB / 434.6 MB, free: 11.92 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.574e-05/0.1143, allocations: 19.42 kB / 434.6 MB, free: 11.9 MB / 366.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1143, allocations: 4 kB / 434.6 MB, free: 11.89 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02537/0.1396, allocations: 1.581 MB / 436.2 MB, free: 10.41 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.848/7.987, allocations: 14.59 kB / 436.2 MB, free: 10.4 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 10.46500006201677]