Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.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.001315/0.001315, allocations: 103.6 kB / 21.18 MB, free: 332 kB / 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.001539/0.001539, allocations: 212 kB / 24.47 MB, free: 3.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 207.7 MB / 235.3 MB, free: 9.805 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Blocks.Examples.IntegerNetwork1,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_IntegerNetwork1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.IntegerNetwork1,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_IntegerNetwork1",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002084/0.002084, allocations: 58.73 kB / 347.2 MB, free: 9.902 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3037/0.3058, allocations: 49.16 MB / 396.3 MB, free: 8.871 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.IntegerNetwork1): time 0.00285/0.3087, allocations: 1.779 MB / 398.1 MB, free: 7.684 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001037/0.3097, allocations: 0.6366 MB / 398.8 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.133e-05/0.3098, allocations: 3.531 kB / 398.8 MB, free: 7.254 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.3099, allocations: 36.03 kB / 398.8 MB, free: 7.227 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001233/0.3101, allocations: 31.5 kB / 398.8 MB, free: 7.203 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000284/0.3103, allocations: 86.58 kB / 398.9 MB, free: 7.156 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.3105, allocations: 172.9 kB / 399.1 MB, free: 7.078 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001527/0.3107, allocations: 51.67 kB / 399.1 MB, free: 7.051 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000114/0.3108, allocations: 83.31 kB / 399.2 MB, free: 7.008 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001449/0.311, allocations: 76.84 kB / 399.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.311, allocations: 14.44 kB / 399.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.7e-05/0.3111, allocations: 21.02 kB / 399.3 MB, free: 6.973 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.461e-05/0.3111, allocations: 49.8 kB / 399.4 MB, free: 6.941 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 6.981e-05/0.3112, allocations: 70.52 kB / 399.4 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002622/0.3115, allocations: 198.1 kB / 399.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3115, allocations: 0 / 399.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.3115, allocations: 0 / 399.6 MB, free: 6.812 MB / 318.1 MB Notification: Performance of Transformations before backend: time 7.034e-06/0.3115, allocations: 1.641 kB / 399.6 MB, free: 6.812 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.0008462/0.3123, allocations: 450.3 kB / 400.1 MB, free: 6.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.3124, allocations: 14.88 kB / 400.1 MB, free: 6.445 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.845e-05/0.3124, allocations: 47.47 kB / 400.1 MB, free: 6.398 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.835e-05/0.3125, allocations: 28.2 kB / 400.2 MB, free: 6.383 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002376/0.3127, allocations: 182.9 kB / 400.3 MB, free: 6.219 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.166e-05/0.3127, allocations: 12 kB / 400.4 MB, free: 6.215 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.579e-05/0.3127, allocations: 19.66 kB / 400.4 MB, free: 6.207 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003732/0.3131, allocations: 210.1 kB / 400.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.3131, allocations: 0 / 400.6 MB, free: 6.094 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.813e-05/0.3131, allocations: 6.719 kB / 400.6 MB, free: 6.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.227e-05/0.3132, allocations: 13.98 kB / 400.6 MB, free: 6.082 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003092/0.3135, allocations: 139.2 kB / 400.7 MB, free: 6.047 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009316/0.3144, allocations: 0.7241 MB / 401.5 MB, free: 5.453 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005946/0.315, allocations: 181 kB / 401.6 MB, free: 5.395 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001352/0.3151, allocations: 63.59 kB / 401.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.3152, allocations: 4.047 kB / 401.7 MB, free: 5.367 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002678/0.3154, allocations: 148.7 kB / 401.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.3154, allocations: 1.062 kB / 401.8 MB, free: 5.277 MB / 318.1 MB Notification: Performance of matching and sorting (n=15): time 0.0005876/0.316, allocations: 245.4 kB / 402.1 MB, free: 5.184 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/0.3161, allocations: 81.25 kB / 402.2 MB, free: 5.09 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.3163, allocations: 222.3 kB / 402.4 MB, free: 4.941 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.3163, allocations: 27.95 kB / 402.4 MB, free: 4.91 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.229e-05/0.3163, allocations: 148.6 kB / 402.6 MB, free: 4.777 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.024e-05/0.3164, allocations: 32.75 kB / 402.6 MB, free: 4.754 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.439e-05/0.3165, allocations: 67.09 kB / 402.7 MB, free: 4.711 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.491e-05/0.3165, allocations: 338.5 kB / 403 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001555/0.3167, allocations: 65.59 kB / 403 MB, free: 4.367 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.3169, allocations: 135.5 kB / 403.2 MB, free: 4.266 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000311/0.3172, allocations: 218.6 kB / 403.4 MB, free: 4.125 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.3172, allocations: 1.094 kB / 403.4 MB, free: 4.125 MB / 318.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000404/0.3176, allocations: 243.9 kB / 403.6 MB, free: 4.023 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.3176, allocations: 6.75 kB / 403.6 MB, free: 4.023 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.3176, allocations: 6.469 kB / 403.6 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.041e-05/0.3176, allocations: 4.438 kB / 403.7 MB, free: 4.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.3178, allocations: 41.78 kB / 403.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.093e-05/0.3178, allocations: 4.312 kB / 403.7 MB, free: 4.012 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001653/0.318, allocations: 38.66 kB / 403.7 MB, free: 3.992 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.708e-05/0.318, allocations: 12.09 kB / 403.7 MB, free: 3.988 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 25 (product.y,product.u[2],product.u[1],sum.u[1],triggeredAdd.y,$PRE.triggeredAdd.y,$whenCondition3,$whenCondition2,multiSwitch1.expr[2],multiSwitch1.expr[1],booleanPulse2.pulseStart,$PRE.booleanPulse2.pulseStart,multiSwitch1.firstActiveIndex,multiSwitch1.y,$PRE.multiSwitch1.y,multiSwitch1.u[2],multiSwitch1.u[1],booleanPulse1.pulseStart,$PRE.booleanPulse1.pulseStart,$whenCondition1,triggeredAdd.local_set,triggeredAdd.local_reset,showValue2.number,showValue1.number,showValue.number) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001108/0.3181, allocations: 143.5 kB / 403.9 MB, free: 3.855 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.88e-05/0.3181, allocations: 20.56 kB / 403.9 MB, free: 3.844 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000227/0.3184, allocations: 135.7 kB / 404 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.3184, allocations: 2.594 kB / 404 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.3184, allocations: 320 / 404 MB, free: 3.766 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.3184, allocations: 5.281 kB / 404 MB, free: 3.762 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000555/0.3189, allocations: 442.6 kB / 404.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.3189, allocations: 1.219 kB / 404.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001108/0.319, allocations: 16.8 kB / 404.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.3191, allocations: 2.266 kB / 404.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.3191, allocations: 15.23 kB / 404.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.3191, allocations: 1.062 kB / 404.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3191, allocations: 1.062 kB / 404.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003547/0.3194, allocations: 290.5 kB / 404.8 MB, free: 3.223 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.3195, allocations: 20.66 kB / 404.8 MB, free: 3.211 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.3195, allocations: 6.875 kB / 404.8 MB, free: 3.207 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.3197, allocations: 18.64 kB / 404.8 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.564e-05/0.3197, allocations: 19.88 kB / 404.9 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.76e-05/0.3197, allocations: 11.66 kB / 404.9 MB, free: 3.195 MB / 318.1 MB Notification: Performance of sorting global known variables: time 9.425e-05/0.3198, allocations: 142.8 kB / 405 MB, free: 3.102 MB / 318.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3198, allocations: 0 / 405 MB, free: 3.102 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003057/0.3201, allocations: 41.47 kB / 405.1 MB, free: 3.094 MB / 318.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: 14 (multiSwitch1.u[1],$whenCondition3,$whenCondition2,$whenCondition1,triggeredAdd.y,booleanPulse1.pulseStart,multiSwitch1.u[2],multiSwitch1.y,multiSwitch1.firstActiveIndex,booleanPulse2.pulseStart,sum.u[1],product.u[1],product.u[2],product.y) * Number of discrete states: 2 (multiSwitch1.y,triggeredAdd.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0005862/0.3207, allocations: 0.8283 MB / 405.9 MB, free: 2.371 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.000395/0.3211, allocations: 166.7 kB / 406 MB, free: 2.324 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3211, allocations: 5 kB / 406.1 MB, free: 2.32 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001702/0.3213, allocations: 69.77 kB / 406.1 MB, free: 2.305 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003491/0.3217, allocations: 33.95 kB / 406.2 MB, free: 2.289 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00245/0.3241, allocations: 2.252 MB / 408.4 MB, free: 0.5977 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001196/0.3242, allocations: 123.7 kB / 408.5 MB, free: 0.5195 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0001239/0.3243, allocations: 39.52 kB / 408.6 MB, free: 0.5078 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.3244, allocations: 62.22 kB / 408.6 MB, free: 476 kB / 318.1 MB Notification: Performance of SimCode: time 4.9e-07/0.3244, allocations: 0 / 408.6 MB, free: 476 kB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0333/0.3577, allocations: 4.821 MB / 413.4 MB, free: 14.18 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.61/11.97, allocations: 5.219 kB / 413.5 MB, free: 14.18 MB / 334.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.sim & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1_res.csv --start-time 0 --stop-time 10 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00197941 Modelica_3_2_3_Modelica_Blocks_Examples_IntegerNetwork1.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/IntegerNetwork1/IntegerNetwork1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable multiSwitch1.y in file Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1_res.csv. Warning: Get data of variable multiSwitch1.y from file Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1_res.csv failed! Error: Could not read variable triggeredAdd.y in file Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1_res.csv. Warning: Get data of variable triggeredAdd.y from file Modelica_3.2.3_Modelica.Blocks.Examples.IntegerNetwork1_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.503768262919039]