Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0002511/0.0002511, allocations: 0 / 0, free: 0 / 0 " [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.0003401/0.0003401, allocations: 0 / 0, free: 0 / 0 " [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 0.1138/0.1138, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.01098/0.01098, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) 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: simulate(ModelicaTest.Utilities.TestStreams,startTime=0,stopTime=0,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ModelicaTest.Utilities.TestStreams,startTime=0,stopTime=0,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="time|result",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 9.62e-07/9.62e-07, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.373e-05/2.47e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestStreams): time 0.0007667/0.0007914, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.000666/0.001457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 1.683e-05/0.001474, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.00149, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 1.673e-06/0.001492, allocations: 0 / 0, free: 0 / 0 [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/Utilities.mo:222:3-288:14:writable] Warning: Pure function 'ModelicaTest.Utilities.Streams' contains a call to impure function 'Modelica.Utilities.Streams.print'. Notification: Performance of NFTyping.typeClassSections: time 0.0009993/0.002491, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 4.139e-05/0.002533, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 1.969e-05/0.002552, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 1.594e-05/0.002568, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 1.243e-05/0.002581, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 7.174e-06/0.002588, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001908/0.002779, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 7.745e-06/0.002786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 8.245e-06/0.002795, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.0001825/0.002977, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.002983, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.242e-06/0.002984, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.205e-05/0.002996, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004338/0.00343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 7.316e-05/0.003503, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 5.411e-05/0.003557, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 7.616e-05/0.003633, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.441e-05/0.003688, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 3.623e-05/0.003724, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001309/0.003855, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.003863, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.695e-05/0.00388, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.003885, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 1.018e-05/0.003895, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.682e-05/0.003971, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 3.775e-05/0.004009, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 1.555e-05/0.004025, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 5.28e-06/0.00403, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.004051, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=1): time 2.044e-06/0.004053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=1): time 8.065e-05/0.004134, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.004161, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.083e-05/0.004172, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 1.53e-05/0.004187, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 5.62e-06/0.004193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 1.724e-05/0.00421, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 2.3e-05/0.004233, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 9.839e-06/0.004243, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 8.386e-06/0.004251, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 1.096e-05/0.004262, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 2.111e-05/0.004284, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.004285, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=1) (initialization): time 3.533e-05/0.00432, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 2.333e-05/0.004343, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.226e-06/0.004347, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.00436, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.33e-06/0.004365, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.004372, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.059e-05/0.004393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.236e-05/0.004405, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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 4.668e-05/0.004452, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 5.671e-06/0.004457, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.436e-06/0.004466, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-06/0.004467, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.004472, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.004474, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.01e-05/0.004524, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.004525, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.252e-06/0.004526, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.004529, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.776e-05/0.004547, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.004549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.004551, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 7.442e-05/0.004625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 8.046e-06/0.004633, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.004663, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.152e-05/0.004674, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.004693, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.004698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 2.985e-06/0.004701, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 8.01e-07/0.004702, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.0003415/0.005043, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0004931/0.005536, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 6.947e-05/0.005606, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.005609, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 1.419e-05/0.005623, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.546e-05/0.005698, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001132/0.005811, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 1.737e-05/0.005829, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 5.73e-06/0.005835, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 3.48e-05/0.005869, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.445e-05/0.005884, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0009077/0.006792, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Utilities.TestStreams_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Utilities/TestStreams/TestStreams.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 0.7794068092480302]