Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 124.8 kB / 17.79 MB, free: 5.266 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001439/0.001439, allocations: 186.9 kB / 20.73 MB, free: 2.332 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.501/1.501, allocations: 225.6 MB / 249.1 MB, free: 3.609 MB / 190.1 MB " [Timeout remaining time 178] 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.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00148/0.00148, allocations: 51.92 kB / 365.6 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09668/0.09816, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002804/0.101, allocations: 1.578 MB / 419.4 MB, free: 11.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.000826/0.1018, allocations: 482.7 kB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.939e-05/0.1019, allocations: 4 kB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 4.415e-05/0.1019, allocations: 3.938 kB / 419.8 MB, free: 10.55 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001183/0.102, allocations: 11.86 kB / 419.9 MB, free: 10.54 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002326/0.1023, allocations: 51.83 kB / 419.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001002/0.1024, allocations: 39.92 kB / 419.9 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.856e-05/0.1024, allocations: 11.98 kB / 420 MB, free: 10.43 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.326e-05/0.1025, allocations: 27.86 kB / 420 MB, free: 10.41 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.184e-05/0.1026, allocations: 15.92 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.1026, allocations: 4 kB / 420 MB, free: 10.39 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.288e-05/0.1026, allocations: 7.938 kB / 420 MB, free: 10.38 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.698e-05/0.1026, allocations: 15.92 kB / 420 MB, free: 10.36 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.615e-05/0.1027, allocations: 27.8 kB / 420.1 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001252/0.1028, allocations: 47.75 kB / 420.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.1028, allocations: 0 / 420.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1028, allocations: 0 / 420.1 MB, free: 10.29 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.845e-06/0.1028, allocations: 7.938 kB / 420.1 MB, free: 10.28 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.0004991/0.1033, allocations: 379.1 kB / 420.5 MB, free: 9.863 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1034, allocations: 8.031 kB / 420.5 MB, free: 9.855 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.461e-05/0.1034, allocations: 38.75 kB / 420.5 MB, free: 9.809 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.1034, allocations: 8.891 kB / 420.5 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.1037, allocations: 196.1 kB / 420.7 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.1037, allocations: 4.375 kB / 420.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.186e-06/0.1037, allocations: 384 / 420.7 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002806/0.104, allocations: 137.1 kB / 420.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.104, allocations: 0 / 420.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.104, allocations: 0 / 420.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.104, allocations: 0 / 420.9 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.636e-05/0.1041, allocations: 23.92 kB / 420.9 MB, free: 9.391 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003187/0.1044, allocations: 265.8 kB / 421.1 MB, free: 9.078 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002118/0.1046, allocations: 142.2 kB / 421.3 MB, free: 8.902 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.575e-05/0.1047, allocations: 25.78 kB / 421.3 MB, free: 8.871 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.1047, allocations: 7.984 kB / 421.3 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.1047, allocations: 30.56 kB / 421.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1047, allocations: 0 / 421.3 MB, free: 8.824 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002475/0.105, allocations: 85.7 kB / 421.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.177e-05/0.105, allocations: 81.14 kB / 421.5 MB, free: 8.637 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.1051, allocations: 140.1 kB / 421.6 MB, free: 8.492 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.984e-05/0.1052, allocations: 29.7 kB / 421.7 MB, free: 8.457 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.981e-05/0.1052, allocations: 88.14 kB / 421.8 MB, free: 8.367 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.1052, allocations: 3.953 kB / 421.8 MB, free: 8.363 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.703e-05/0.1053, allocations: 17.72 kB / 421.8 MB, free: 8.34 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1054, allocations: 326.7 kB / 422.1 MB, free: 8.012 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.162e-05/0.1054, allocations: 8 kB / 422.1 MB, free: 8.004 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.903e-05/0.1055, allocations: 43.36 kB / 422.2 MB, free: 7.949 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.773e-05/0.1056, allocations: 39.42 kB / 422.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.1056, allocations: 0 / 422.2 MB, free: 7.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001374/0.1057, allocations: 81.5 kB / 422.3 MB, free: 7.812 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.1057, allocations: 4 kB / 422.3 MB, free: 7.809 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1057, allocations: 4 kB / 422.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.259e-05/0.1058, allocations: 0 / 422.3 MB, free: 7.805 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.57e-05/0.1058, allocations: 11.98 kB / 422.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.069e-06/0.1058, allocations: 0 / 422.3 MB, free: 7.793 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.358e-05/0.1059, allocations: 7.938 kB / 422.3 MB, free: 7.785 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.642e-06/0.1059, allocations: 0 / 422.3 MB, free: 7.785 MB / 350.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.432e-05/0.106, allocations: 126.6 kB / 422.4 MB, free: 7.652 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.962e-05/0.106, allocations: 53.58 kB / 422.5 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.197e-05/0.1061, allocations: 8.25 kB / 422.5 MB, free: 7.578 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1061, allocations: 4 kB / 422.5 MB, free: 7.574 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.794e-06/0.1061, allocations: 3.984 kB / 422.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1061, allocations: 0 / 422.5 MB, free: 7.57 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001803/0.1063, allocations: 173.5 kB / 422.7 MB, free: 7.352 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.399e-06/0.1063, allocations: 4 kB / 422.7 MB, free: 7.348 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.144e-05/0.1063, allocations: 4 kB / 422.7 MB, free: 7.344 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/0.1063, allocations: 4 kB / 422.7 MB, free: 7.34 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.044e-05/0.1063, allocations: 11.98 kB / 422.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.1063, allocations: 0 / 422.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.1063, allocations: 0 / 422.7 MB, free: 7.328 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001894/0.1065, allocations: 172.2 kB / 422.9 MB, free: 7.141 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.577e-05/0.1066, allocations: 93.05 kB / 422.9 MB, free: 7.031 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.561e-05/0.1066, allocations: 4 kB / 422.9 MB, free: 7.027 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.416e-05/0.1067, allocations: 4 kB / 422.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.272e-05/0.1067, allocations: 0 / 422.9 MB, free: 7.023 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-06/0.1067, allocations: 4 kB / 423 MB, free: 7.02 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.75e-05/0.1068, allocations: 109.4 kB / 423.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of sort global known variables: time 7e-08/0.1068, allocations: 0 / 423.1 MB, free: 6.914 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002335/0.107, allocations: 8 kB / 423.1 MB, free: 6.906 MB / 350.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.0005262/0.1076, allocations: 0.7075 MB / 423.8 MB, free: 6.172 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001445/0.1077, allocations: 43.84 kB / 423.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1077, allocations: 0 / 423.8 MB, free: 6.129 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.318e-05/0.1077, allocations: 4 kB / 423.8 MB, free: 6.125 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003469/0.1081, allocations: 20.33 kB / 423.8 MB, free: 6.105 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.1095, allocations: 1.379 MB / 425.2 MB, free: 4.629 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.1098, allocations: 0.6922 MB / 425.9 MB, free: 3.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.501e-05/0.1099, allocations: 8.031 kB / 425.9 MB, free: 3.902 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.005e-05/0.1099, allocations: 11.44 kB / 425.9 MB, free: 3.891 MB / 350.1 MB Notification: Performance of SimCode: time 2.81e-07/0.1099, allocations: 0 / 425.9 MB, free: 3.891 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02299/0.1329, allocations: 1.558 MB / 427.5 MB, free: 2.426 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.794/7.927, allocations: 25.55 kB / 427.5 MB, free: 2.41 MB / 350.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_Sample1.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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.542805687058717]