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.00133/0.00133, allocations: 112 kB / 20.43 MB, free: 1.457 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.001473/0.001473, allocations: 181.3 kB / 23.72 MB, free: 4.699 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.488/1.488, allocations: 225.6 MB / 252.5 MB, free: 13.04 MB / 206.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.001495/0.001495, allocations: 51.91 kB / 370.5 MB, free: 9.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2962/0.2977, allocations: 52.19 MB / 422.6 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003364/0.3011, allocations: 1.883 MB / 424.5 MB, free: 12.72 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.3024, allocations: 0.7011 MB / 425.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.3026, allocations: 4 kB / 425.2 MB, free: 12.01 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001544/0.3027, allocations: 19.73 kB / 425.2 MB, free: 11.99 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.3029, allocations: 23.8 kB / 425.3 MB, free: 11.96 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005872/0.3035, allocations: 159.6 kB / 425.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000237/0.3037, allocations: 151.6 kB / 425.6 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001481/0.3039, allocations: 37.73 kB / 425.6 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.304, allocations: 55.78 kB / 425.7 MB, free: 11.57 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001362/0.3041, allocations: 67.62 kB / 425.7 MB, free: 11.5 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.12e-05/0.3042, allocations: 12 kB / 425.7 MB, free: 11.49 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.3043, allocations: 51.95 kB / 425.8 MB, free: 11.44 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.297e-05/0.3043, allocations: 39.84 kB / 425.8 MB, free: 11.4 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.672e-05/0.3044, allocations: 71.53 kB / 425.9 MB, free: 11.33 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003213/0.3048, allocations: 199.6 kB / 426.1 MB, free: 11.14 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.3048, allocations: 4 kB / 426.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3048, allocations: 0 / 426.1 MB, free: 11.13 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3048, allocations: 0 / 426.1 MB, free: 11.13 MB / 334.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.0008273/0.3056, allocations: 413.5 kB / 426.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.177e-05/0.3057, allocations: 8.031 kB / 426.5 MB, free: 10.69 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.235e-05/0.3057, allocations: 42.75 kB / 426.6 MB, free: 10.64 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.18e-05/0.3058, allocations: 16.84 kB / 426.6 MB, free: 10.62 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004113/0.3062, allocations: 191.2 kB / 426.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.118e-05/0.3062, allocations: 8.562 kB / 426.8 MB, free: 10.41 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.118e-05/0.3062, allocations: 7.938 kB / 426.8 MB, free: 10.4 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007481/0.307, allocations: 326.4 kB / 427.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.307, allocations: 0 / 427.1 MB, free: 10.06 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.858e-05/0.307, allocations: 4 kB / 427.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.307, allocations: 4 kB / 427.1 MB, free: 10.05 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/0.3073, allocations: 91.81 kB / 427.2 MB, free: 9.961 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005014/0.3078, allocations: 312.6 kB / 427.5 MB, free: 9.609 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004656/0.3082, allocations: 185 kB / 427.7 MB, free: 9.41 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.3084, allocations: 89.73 kB / 427.8 MB, free: 9.316 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004139/0.3088, allocations: 59.94 kB / 427.8 MB, free: 9.258 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/0.3089, allocations: 42.77 kB / 427.9 MB, free: 9.207 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.443e-06/0.3089, allocations: 0 / 427.9 MB, free: 9.207 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0005921/0.3095, allocations: 240.5 kB / 428.1 MB, free: 8.969 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001065/0.3096, allocations: 126.9 kB / 428.2 MB, free: 8.82 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001944/0.3098, allocations: 190.2 kB / 428.4 MB, free: 8.625 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.164e-05/0.3098, allocations: 33.7 kB / 428.4 MB, free: 8.586 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.666e-05/0.3099, allocations: 100.6 kB / 428.5 MB, free: 8.48 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.24e-05/0.3099, allocations: 23.89 kB / 428.6 MB, free: 8.457 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.815e-05/0.31, allocations: 37.7 kB / 428.6 MB, free: 8.414 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001629/0.3101, allocations: 322.8 kB / 428.9 MB, free: 8.09 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.027e-05/0.3102, allocations: 43.97 kB / 429 MB, free: 8.047 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001923/0.3104, allocations: 163.2 kB / 429.1 MB, free: 7.828 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000289/0.3107, allocations: 208 kB / 429.3 MB, free: 7.566 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.3107, allocations: 4 kB / 429.3 MB, free: 7.562 MB / 334.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003953/0.3111, allocations: 217.1 kB / 429.5 MB, free: 7.344 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.845e-05/0.3111, allocations: 4 kB / 429.5 MB, free: 7.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/0.3111, allocations: 7.938 kB / 429.5 MB, free: 7.332 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.3112, allocations: 8 kB / 429.6 MB, free: 7.324 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001499/0.3113, allocations: 44.52 kB / 429.6 MB, free: 7.281 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.3113, allocations: 19.97 kB / 429.6 MB, free: 7.262 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001098/0.3114, allocations: 15.89 kB / 429.6 MB, free: 7.246 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.3115, allocations: 16 kB / 429.6 MB, free: 7.23 MB / 334.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.0001647/0.3116, allocations: 153.1 kB / 429.8 MB, free: 7.074 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003173/0.3119, allocations: 165.4 kB / 430 MB, free: 6.906 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004078/0.3123, allocations: 179.3 kB / 430.1 MB, free: 6.723 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/0.3124, allocations: 4 kB / 430.1 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.3124, allocations: 0 / 430.1 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.3124, allocations: 0 / 430.1 MB, free: 6.719 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002385/0.3126, allocations: 204.5 kB / 430.3 MB, free: 6.477 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.885e-06/0.3126, allocations: 4 kB / 430.3 MB, free: 6.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.3127, allocations: 35.91 kB / 430.4 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.3128, allocations: 0 / 430.4 MB, free: 6.438 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.706e-05/0.3128, allocations: 4 kB / 430.4 MB, free: 6.434 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.3128, allocations: 4 kB / 430.4 MB, free: 6.43 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.3128, allocations: 4 kB / 430.4 MB, free: 6.426 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004313/0.3132, allocations: 297.4 kB / 430.7 MB, free: 6.117 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.502e-05/0.3133, allocations: 31.83 kB / 430.7 MB, free: 6.086 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.434e-05/0.3133, allocations: 15.92 kB / 430.7 MB, free: 6.07 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001262/0.3134, allocations: 12 kB / 430.7 MB, free: 6.059 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.149e-05/0.3135, allocations: 7.984 kB / 430.7 MB, free: 6.051 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.558e-05/0.3135, allocations: 4 kB / 430.7 MB, free: 6.047 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001333/0.3136, allocations: 148.3 kB / 430.9 MB, free: 5.902 MB / 334.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3136, allocations: 0 / 430.9 MB, free: 5.902 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0003264/0.314, allocations: 28 kB / 430.9 MB, free: 5.875 MB / 334.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.001022/0.315, allocations: 0.9224 MB / 431.8 MB, free: 4.926 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000338/0.3153, allocations: 140.7 kB / 432 MB, free: 4.789 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3153, allocations: 4 kB / 432 MB, free: 4.785 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 3.515e-05/0.3154, allocations: 4 kB / 432 MB, free: 4.781 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005826/0.3159, allocations: 137.6 kB / 432.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00262/0.3186, allocations: 2.171 MB / 434.3 MB, free: 2.277 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003666/0.3189, allocations: 0.7319 MB / 435 MB, free: 1.52 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 6.542e-05/0.319, allocations: 25.56 kB / 435.1 MB, free: 1.496 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.808e-05/0.3191, allocations: 39.42 kB / 435.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of SimCode: time 9.11e-07/0.3191, allocations: 0 / 435.1 MB, free: 1.457 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03221/0.3513, allocations: 4.488 MB / 439.6 MB, free: 13.11 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.63/10.98, allocations: 11.91 kB / 439.6 MB, free: 13.1 MB / 350.1 MB " [Timeout remaining time 649] (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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 13.427285009995103]