Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.001653/0.001653, allocations: 123.9 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.001851/0.001851, allocations: 185.2 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.388/1.388, allocations: 225.6 MB / 249.1 MB, free: 3.613 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.SampleWithADeffects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,fileNamePrefix="Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001488/0.001488, allocations: 51.92 kB / 365.6 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09675/0.09824, allocations: 52.14 MB / 417.8 MB, free: 12.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003178/0.1014, allocations: 1.862 MB / 419.6 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001154/0.1026, allocations: 0.6894 MB / 420.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.931e-05/0.1027, allocations: 0 / 420.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001299/0.1028, allocations: 27.73 kB / 420.4 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.1029, allocations: 31.72 kB / 420.4 MB, free: 9.996 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005031/0.1034, allocations: 159 kB / 420.5 MB, free: 9.844 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002121/0.1036, allocations: 151.6 kB / 420.7 MB, free: 9.695 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.1038, allocations: 49.52 kB / 420.7 MB, free: 9.648 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001048/0.1039, allocations: 51.78 kB / 420.8 MB, free: 9.598 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001118/0.104, allocations: 67.62 kB / 420.9 MB, free: 9.531 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.678e-05/0.104, allocations: 12 kB / 420.9 MB, free: 9.52 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.475e-05/0.1041, allocations: 47.97 kB / 420.9 MB, free: 9.473 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.793e-05/0.1042, allocations: 43.83 kB / 421 MB, free: 9.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.602e-05/0.1043, allocations: 67.55 kB / 421 MB, free: 9.363 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002852/0.1045, allocations: 207.1 kB / 421.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.936e-06/0.1045, allocations: 0 / 421.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1045, allocations: 0 / 421.2 MB, free: 9.16 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1046, allocations: 4 kB / 421.2 MB, free: 9.156 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0007079/0.1053, allocations: 482.7 kB / 421.7 MB, free: 8.637 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.74e-05/0.1053, allocations: 12.03 kB / 421.7 MB, free: 8.625 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.263e-05/0.1053, allocations: 42.69 kB / 421.8 MB, free: 8.574 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.428e-05/0.1054, allocations: 16.84 kB / 421.8 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003495/0.1057, allocations: 256 kB / 422 MB, free: 8.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.64e-05/0.1058, allocations: 4.547 kB / 422 MB, free: 8.266 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.275e-05/0.1058, allocations: 15.94 kB / 422 MB, free: 8.25 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006407/0.1064, allocations: 321.2 kB / 422.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.226e-05/0.1064, allocations: 0 / 422.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1064, allocations: 0 / 422.4 MB, free: 7.918 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.1064, allocations: 4 kB / 422.4 MB, free: 7.914 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002306/0.1067, allocations: 90.06 kB / 422.5 MB, free: 7.828 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.1071, allocations: 345.6 kB / 422.8 MB, free: 7.438 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.1076, allocations: 254.2 kB / 423 MB, free: 7.152 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001903/0.1078, allocations: 93.73 kB / 423.1 MB, free: 7.055 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000668/0.1084, allocations: 0.5778 MB / 423.7 MB, free: 6.348 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.1085, allocations: 50.72 kB / 423.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of pre-optimization done (n=19): time 1.342e-06/0.1085, allocations: 0 / 423.8 MB, free: 6.289 MB / 350.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005675/0.109, allocations: 237.2 kB / 424 MB, free: 6.051 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.812e-05/0.1091, allocations: 118.8 kB / 424.1 MB, free: 5.91 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001907/0.1093, allocations: 195.3 kB / 424.3 MB, free: 5.711 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.013e-05/0.1093, allocations: 37.7 kB / 424.3 MB, free: 5.668 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/0.1094, allocations: 104.6 kB / 424.4 MB, free: 5.559 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.426e-05/0.1094, allocations: 15.91 kB / 424.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.911e-05/0.1095, allocations: 37.7 kB / 424.5 MB, free: 5.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.1097, allocations: 326.8 kB / 424.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-05/0.1097, allocations: 39.98 kB / 424.8 MB, free: 5.133 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001796/0.1099, allocations: 161.1 kB / 425 MB, free: 4.914 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002514/0.1102, allocations: 204 kB / 425.2 MB, free: 4.656 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.1102, allocations: 4 kB / 425.2 MB, free: 4.652 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003385/0.1105, allocations: 217.2 kB / 425.4 MB, free: 4.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.1105, allocations: 10.19 kB / 425.4 MB, free: 4.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.384e-06/0.1105, allocations: 4 kB / 425.4 MB, free: 4.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.1105, allocations: 8 kB / 425.4 MB, free: 4.414 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001408/0.1107, allocations: 43.92 kB / 425.5 MB, free: 4.371 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.957e-06/0.1107, allocations: 4 kB / 425.5 MB, free: 4.367 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001141/0.1108, allocations: 20.38 kB / 425.5 MB, free: 4.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.1108, allocations: 27.88 kB / 425.5 MB, free: 4.32 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 22 * 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.0001532/0.111, allocations: 149.7 kB / 425.7 MB, free: 4.164 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003307/0.1113, allocations: 161.5 kB / 425.8 MB, free: 4 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003725/0.1117, allocations: 183.3 kB / 426 MB, free: 3.809 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.1117, allocations: 4 kB / 426 MB, free: 3.805 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/0.1117, allocations: 4 kB / 426 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1117, allocations: 0 / 426 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002484/0.1119, allocations: 229.5 kB / 426.2 MB, free: 3.527 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.112, allocations: 8 kB / 426.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001536/0.1121, allocations: 39.91 kB / 426.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1121, allocations: 0 / 426.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1121, allocations: 0 / 426.3 MB, free: 3.48 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.1121, allocations: 4 kB / 426.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1121, allocations: 0 / 426.3 MB, free: 3.477 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004244/0.1126, allocations: 296 kB / 426.6 MB, free: 3.168 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/0.1127, allocations: 109 kB / 426.7 MB, free: 3.043 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.1127, allocations: 8 kB / 426.7 MB, free: 3.035 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001297/0.1128, allocations: 11.98 kB / 426.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.892e-05/0.1129, allocations: 4 kB / 426.7 MB, free: 3.02 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-05/0.1129, allocations: 11.98 kB / 426.7 MB, free: 3.008 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000132/0.113, allocations: 143.4 kB / 426.9 MB, free: 2.867 MB / 350.1 MB Notification: Performance of sort global known variables: time 9e-08/0.113, allocations: 4 kB / 426.9 MB, free: 2.863 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003013/0.1133, allocations: 28 kB / 426.9 MB, free: 2.836 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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0009508/0.1143, allocations: 0.9318 MB / 427.8 MB, free: 1.879 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003262/0.1146, allocations: 140.6 kB / 428 MB, free: 1.742 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.1146, allocations: 4.375 kB / 428 MB, free: 1.738 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.724e-05/0.1146, allocations: 4 kB / 428 MB, free: 1.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005995/0.1152, allocations: 143.6 kB / 428.1 MB, free: 1.59 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.1177, allocations: 2.173 MB / 430.3 MB, free: 15.22 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003545/0.118, allocations: 0.7396 MB / 431 MB, free: 14.46 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 6.271e-05/0.1181, allocations: 17.62 kB / 431 MB, free: 14.44 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/0.1181, allocations: 39.42 kB / 431.1 MB, free: 14.4 MB / 366.1 MB Notification: Performance of SimCode: time 4.51e-07/0.1181, allocations: 4 kB / 431.1 MB, free: 14.39 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03501/0.1532, allocations: 4.282 MB / 435.4 MB, free: 10.27 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.093/8.246, allocations: 0.625 kB / 435.4 MB, free: 10.27 MB / 366.1 MB " [Timeout remaining time 652] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects_fmu --startTime=0 --stopTime=0.2 --stepSize=3.99122e-05 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Clocked_Examples_Elementary_RealSignals_SampleWithADeffects.fmu > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.808998721186072]