Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/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/SMArtInt main/package.mo): time 0.002705/0.002705, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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.0002253/0.0002253, 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.0002722/0.0002722, 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.1043/0.1043, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.06172/0.06172, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/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) Using package SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: simulate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="A.[0-9,]+.|CPUtime|EventCounter|Time|_derdummy|_dummy|readMATRIX.M.[0-9,]+.|readMATRIX.matrixSize.[0-9,]+.|readMATRIX.y.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") simulate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader,startTime=0,stopTime=1,tolerance=1e-06,numberOfIntervals=2500,outputFormat="mat",variableFilter="A.[0-9,]+.|CPUtime|EventCounter|Time|_derdummy|_dummy|readMATRIX.M.[0-9,]+.|readMATRIX.matrixSize.[0-9,]+.|readMATRIX.y.[0-9,]+.",fileNamePrefix="ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader",simflags="-abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS") [Timeout 1040] "Notification: Performance of FrontEnd - loaded program: time 2.034e-06/2.034e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 2.482e-05/2.685e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(ClaRa.Components.Utilities.Blocks.Check.testMatrixReader): time 0.001771/0.001798, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.001109/0.002907, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 2.649e-05/0.002933, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 0.00179/0.004723, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 3.217e-05/0.004755, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 1.954e-06/0.004757, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 4.376e-05/0.004801, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 2.384e-05/0.004825, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0009098/0.005735, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 1.001e-05/0.005745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 0.0001765/0.005921, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 0.0001728/0.006094, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 0.00308/0.009174, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 0.001447/0.01062, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 0.009179/0.0198, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 0.0009394/0.02074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 3.006e-06/0.02074, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 0.0001215/0.02086, 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: 2915 * Number of variables: 2915 Notification: Performance of Generate backend data structure: time 0.01539/0.03625, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 0.0009223/0.03718, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001121/0.0383, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/0.04966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.656e-05/0.04968, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001662/0.04985, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.003009/0.05286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 7.313e-06/0.05286, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001266/0.05299, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003914/0.0569, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003239/0.06014, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02626/0.0864, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 8.283e-05/0.08648, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 1.933e-05/0.0865, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 9.047e-06/0.08651, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.65e-05/0.08653, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=0): time 7.685e-06/0.08654, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=0): time 0.00127/0.08781, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 5.318e-05/0.08786, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02166/0.1095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 6.743e-06/0.1095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 0.008009/0.1175, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 0.0004362/0.118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 0.005066/0.123, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.888e-05/0.1231, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 0.002214/0.1253, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 0.006838/0.1321, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 0.01276/0.1449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.00602/0.1509, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=2915) (initialization): time 0.05952/0.2104, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006196/0.211, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0007785/0.2118, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 0.001022/0.2128, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01131/0.2241, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00131/0.2255, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01161/0.2371, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001714/0.2388, allocations: 0 / 0, free: 0 / 0 Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2915 * 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 (2915): * Single equations (assignments): 2915 * 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.005558/0.2443, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/0.2455, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002726/0.2482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/0.2482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 1.716e-05/0.2482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.253e-05/0.2482, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006561/0.2548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.177e-06/0.2548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.073e-06/0.2548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 1.398e-05/0.2548, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.274e-05/0.2549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.828e-06/0.2549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.293e-05/0.2549, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.2561, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 0.002426/0.2585, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004207/0.2627, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001546/0.2643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 1.968e-05/0.2643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.053e-06/0.2643, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 0.01003/0.2744, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 0.0007988/0.2752, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.01776/0.2929, 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.001657/0.2946, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.009417/0.304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 3.977e-06/0.304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007357/0.3114, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03803/0.3494, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02916/0.3785, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 0.02955/0.4081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001402/0.4095, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 0.00633/0.4158, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.0224/0.4382, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 1039] diffSimulationResults("ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/ReferenceFiles/ClaRa/ReferenceResults/ClaRa.Components.Utilities.Blocks.Check.testMatrixReader.mat","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 800] "Error: Could not read variable CPUtime in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable CPUtime from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! Error: Could not read variable EventCounter in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable EventCounter from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! Error: Could not read variable _derdummy in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable _derdummy from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! Error: Could not read variable _dummy in file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat. Warning: Get data of variable _dummy from file ClaRa_dev_ClaRa.Components.Utilities.Blocks.Check.testMatrixReader_res.mat failed! " [Timeout remaining time 799] Reference file matches [Calling sys.exit(0), Time elapsed: 2.8761636409908533]