Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.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.001403/0.001403, allocations: 69.48 kB / 21.24 MB, free: 0.5547 MB / 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.001488/0.001488, allocations: 159.4 kB / 24.5 MB, free: 3.715 MB / 14.72 MB " [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 1.505/1.505, allocations: 177.2 MB / 204.9 MB, free: 8.996 MB / 190.1 MB " [Timeout remaining time 178] 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.2165/0.2165, allocations: 32.82 MB / 294.1 MB, free: 28 kB / 270.1 MB " [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: translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare") translateModel(ModelicaTest.Blocks.RootMeanSquare,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|mean1.x|rootMeanSquare.mean.x|mean1.y|rootMeanSquare.mean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 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.002174/0.002174, allocations: 63.91 kB / 440.5 MB, free: 9.457 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3214/0.3235, allocations: 65.45 MB / 0.4941 GB, free: 31.4 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.RootMeanSquare): time 0.003299/0.3268, allocations: 1.671 MB / 0.4958 GB, free: 30.26 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009706/0.3278, allocations: 0.5519 MB / 0.4963 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.375e-05/0.3279, allocations: 3.938 kB / 0.4963 GB, free: 29.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001109/0.328, allocations: 10.94 kB / 0.4963 GB, free: 29.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 6.231e-05/0.3281, allocations: 23.08 kB / 0.4963 GB, free: 29.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003024/0.3284, allocations: 69.23 kB / 0.4964 GB, free: 29.82 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.3285, allocations: 108.9 kB / 0.4965 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001437/0.3287, allocations: 25.88 kB / 0.4965 GB, free: 29.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001505/0.3288, allocations: 61.2 kB / 0.4966 GB, free: 29.72 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.329, allocations: 42.84 kB / 0.4966 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.329, allocations: 13.45 kB / 0.4966 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.678e-05/0.329, allocations: 15.81 kB / 0.4967 GB, free: 29.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 3.986e-05/0.3291, allocations: 22.61 kB / 0.4967 GB, free: 29.68 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 6.628e-05/0.3291, allocations: 51.31 kB / 0.4967 GB, free: 29.65 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.3293, allocations: 129.7 kB / 0.4969 GB, free: 29.59 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.3293, allocations: 0 / 0.4969 GB, free: 29.59 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.3293, allocations: 3.062 kB / 0.4969 GB, free: 29.59 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.591e-06/0.3293, allocations: 0 / 0.4969 GB, free: 29.59 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006238/0.33, allocations: 372 kB / 0.4972 GB, free: 29.26 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.303e-05/0.33, allocations: 9.125 kB / 0.4972 GB, free: 29.26 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.3302, allocations: 26.78 kB / 0.4972 GB, free: 29.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001728/0.3304, allocations: 151.9 kB / 0.4974 GB, free: 29.11 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.3304, allocations: 10.47 kB / 0.4974 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.397e-05/0.3304, allocations: 10.34 kB / 0.4974 GB, free: 29.1 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.3306, allocations: 99.84 kB / 0.4975 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.339e-05/0.3306, allocations: 0 / 0.4975 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.39e-05/0.3306, allocations: 4 kB / 0.4975 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.3306, allocations: 3.188 kB / 0.4975 GB, free: 29.04 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.3307, allocations: 51.8 kB / 0.4976 GB, free: 29.02 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.3312, allocations: 314.4 kB / 0.4979 GB, free: 28.76 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001242/0.3313, allocations: 58.33 kB / 0.4979 GB, free: 28.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.668e-05/0.3314, allocations: 21.42 kB / 0.4979 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.146e-05/0.3314, allocations: 2.938 kB / 0.4979 GB, free: 28.71 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001663/0.3315, allocations: 100 kB / 0.498 GB, free: 28.65 MB / 446.1 MB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.3315, allocations: 0 / 0.498 GB, free: 28.65 MB / 446.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003098/0.3319, allocations: 132.8 kB / 0.4982 GB, free: 28.59 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.122e-05/0.3319, allocations: 58.38 kB / 0.4982 GB, free: 28.52 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.155e-05/0.332, allocations: 148 kB / 0.4984 GB, free: 28.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.327e-05/0.332, allocations: 29.7 kB / 0.4984 GB, free: 28.37 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.281e-05/0.332, allocations: 105.9 kB / 0.4985 GB, free: 28.27 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.588e-05/0.3321, allocations: 30.44 kB / 0.4985 GB, free: 28.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.3321, allocations: 31.19 kB / 0.4986 GB, free: 28.22 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.31e-05/0.3322, allocations: 325.5 kB / 0.4989 GB, free: 27.9 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.394e-05/0.3322, allocations: 23.41 kB / 0.4989 GB, free: 27.9 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.409e-05/0.3323, allocations: 100.7 kB / 0.499 GB, free: 27.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.3325, allocations: 117.9 kB / 0.4991 GB, free: 27.7 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.3325, allocations: 4 kB / 0.4991 GB, free: 27.7 MB / 446.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002097/0.3327, allocations: 140 kB / 0.4992 GB, free: 27.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.355e-05/0.3327, allocations: 6.406 kB / 0.4992 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.3327, allocations: 7.031 kB / 0.4992 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.694e-05/0.3327, allocations: 3.25 kB / 0.4992 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001129/0.3328, allocations: 26.33 kB / 0.4993 GB, free: 27.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.3328, allocations: 10.8 kB / 0.4993 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.959e-05/0.3329, allocations: 7.141 kB / 0.4993 GB, free: 27.61 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.037e-05/0.3329, allocations: 6.594 kB / 0.4993 GB, free: 27.61 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 6 (mean1.y_last,$PRE.mean1.y_last,$whenCondition2,$whenCondition1,rootMeanSquare.mean.y_last,$PRE.rootMeanSquare.mean.y_last) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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 7.653e-05/0.333, allocations: 128.6 kB / 0.4994 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.333, allocations: 18.06 kB / 0.4994 GB, free: 27.48 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.333, allocations: 16 kB / 0.4994 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.333, allocations: 0 / 0.4994 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.333, allocations: 0 / 0.4994 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.333, allocations: 0 / 0.4994 GB, free: 27.46 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001098/0.3332, allocations: 142.6 kB / 0.4996 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3332, allocations: 0 / 0.4996 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.319e-05/0.3332, allocations: 20.89 kB / 0.4996 GB, free: 27.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3333, allocations: 4 kB / 0.4996 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.3333, allocations: 6.469 kB / 0.4996 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.3333, allocations: 3.938 kB / 0.4996 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.3333, allocations: 0 / 0.4996 GB, free: 27.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002794/0.3335, allocations: 167.8 kB / 0.4998 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.484e-05/0.3336, allocations: 7.016 kB / 0.4998 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.3336, allocations: 10.52 kB / 0.4998 GB, free: 27.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.321e-05/0.3336, allocations: 7.031 kB / 0.4998 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.41e-05/0.3337, allocations: 6.328 kB / 0.4998 GB, free: 27.19 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.568e-06/0.3337, allocations: 6.672 kB / 0.4998 GB, free: 27.19 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.214e-05/0.3337, allocations: 114.2 kB / 0.4999 GB, free: 27.1 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3337, allocations: 0 / 0.4999 GB, free: 27.1 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.334, allocations: 19.84 kB / 0.4999 GB, free: 27.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,mean1.y_last,rootMeanSquare.mean.y_last) * Number of discrete states: 2 (mean1.x,rootMeanSquare.mean.x) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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 6.514e-05/0.334, allocations: 99.97 kB / 0.5 GB, free: 27.01 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.3342, allocations: 78.8 kB / 0.5001 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3342, allocations: 0 / 0.5001 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.335e-05/0.3343, allocations: 30.17 kB / 0.5001 GB, free: 26.98 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001981/0.3345, allocations: 21.47 kB / 0.5002 GB, free: 26.96 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004316/0.3349, allocations: 269.3 kB / 0.5004 GB, free: 26.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.62e-05/0.335, allocations: 93.17 kB / 0.5005 GB, free: 26.69 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.188e-05/0.335, allocations: 14.09 kB / 0.5005 GB, free: 26.68 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.345e-05/0.3351, allocations: 15.03 kB / 0.5005 GB, free: 26.68 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3351, allocations: 0 / 0.5005 GB, free: 26.68 MB / 446.1 MB Notification: Performance of Templates: time 0.00363/0.3387, allocations: 1.034 MB / 0.5015 GB, free: 26.52 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/RootMeanSquare/RootMeanSquare.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.RootMeanSquare.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: 5.002745191100985]