Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001342/0.001342, allocations: 75.75 kB / 21.25 MB, free: 0.5352 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001482/0.001482, allocations: 165.4 kB / 24.5 MB, free: 3.707 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.534/1.534, allocations: 177.1 MB / 204.7 MB, free: 8.941 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2278/0.2278, allocations: 34.26 MB / 295.4 MB, free: 14.45 MB / 286.1 MB " [Timeout remaining time 179] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003353/0.003353, allocations: 75.88 kB / 443.1 MB, free: 6.473 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4037, allocations: 66.05 MB / 0.4972 GB, free: 29.77 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002401/0.4061, allocations: 1.572 MB / 0.4988 GB, free: 28.7 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002446/0.4063, allocations: 70.62 kB / 0.4988 GB, free: 28.65 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.555e-05/0.4064, allocations: 7.094 kB / 0.4989 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001125/0.4065, allocations: 3.938 kB / 0.4989 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.168e-05/0.4065, allocations: 3.938 kB / 0.4989 GB, free: 28.64 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001309/0.4067, allocations: 25.11 kB / 0.4989 GB, free: 28.62 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001123/0.4068, allocations: 40.19 kB / 0.4989 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.4069, allocations: 10.48 kB / 0.4989 GB, free: 28.6 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.69e-05/0.4069, allocations: 13.81 kB / 0.4989 GB, free: 28.59 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.376e-05/0.407, allocations: 14.62 kB / 0.499 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.522e-05/0.407, allocations: 3.156 kB / 0.499 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.217e-05/0.407, allocations: 3.094 kB / 0.499 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.609e-05/0.407, allocations: 0 / 0.499 GB, free: 28.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.598e-05/0.407, allocations: 15.12 kB / 0.499 GB, free: 28.57 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 9.98e-05/0.4071, allocations: 36.39 kB / 0.499 GB, free: 28.55 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.4071, allocations: 0 / 0.499 GB, free: 28.55 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.4071, allocations: 0 / 0.499 GB, free: 28.55 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.084e-05/0.4071, allocations: 0 / 0.499 GB, free: 28.55 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003715/0.4075, allocations: 283.3 kB / 0.4993 GB, free: 28.28 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.4075, allocations: 9.188 kB / 0.4993 GB, free: 28.28 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.06e-05/0.4076, allocations: 8.109 kB / 0.4993 GB, free: 28.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001808/0.4078, allocations: 127.6 kB / 0.4994 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.4078, allocations: 3.5 kB / 0.4994 GB, free: 28.14 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.63e-05/0.4078, allocations: 4.375 kB / 0.4994 GB, free: 28.13 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001427/0.4079, allocations: 71.53 kB / 0.4995 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.508e-06/0.4079, allocations: 4.125 kB / 0.4995 GB, free: 28.07 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.719e-06/0.408, allocations: 7.938 kB / 0.4995 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.408, allocations: 3.188 kB / 0.4995 GB, free: 28.06 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.287e-05/0.408, allocations: 24.14 kB / 0.4995 GB, free: 28.05 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003788/0.4084, allocations: 393 kB / 0.4999 GB, free: 27.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.4086, allocations: 45.22 kB / 0.5 GB, free: 27.63 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.678e-05/0.4086, allocations: 15.56 kB / 0.5 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.707e-05/0.4086, allocations: 3.125 kB / 0.5 GB, free: 27.62 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.358e-05/0.4087, allocations: 30.56 kB / 0.5 GB, free: 27.58 MB / 446.1 MB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.4087, allocations: 4 kB / 0.5 GB, free: 27.58 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004453/0.4091, allocations: 105.2 kB / 0.5001 GB, free: 27.52 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.572e-05/0.4091, allocations: 54.72 kB / 0.5002 GB, free: 27.46 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.657e-05/0.4092, allocations: 121.6 kB / 0.5003 GB, free: 27.35 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 9.849e-06/0.4092, allocations: 25.7 kB / 0.5003 GB, free: 27.32 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.135e-05/0.4093, allocations: 90.84 kB / 0.5004 GB, free: 27.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.186e-05/0.4093, allocations: 15.22 kB / 0.5004 GB, free: 27.22 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.229e-05/0.4093, allocations: 23.94 kB / 0.5004 GB, free: 27.2 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.426e-05/0.4093, allocations: 325.7 kB / 0.5007 GB, free: 26.88 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.807e-05/0.4094, allocations: 10.38 kB / 0.5007 GB, free: 26.87 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.562e-05/0.4095, allocations: 43.45 kB / 0.5008 GB, free: 26.83 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.987e-05/0.4096, allocations: 65.09 kB / 0.5008 GB, free: 26.79 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.4096, allocations: 0 / 0.5008 GB, free: 26.79 MB / 446.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001387/0.4097, allocations: 84.19 kB / 0.5009 GB, free: 26.73 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.4097, allocations: 3.188 kB / 0.5009 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.4097, allocations: 3.219 kB / 0.5009 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.464e-05/0.4097, allocations: 0 / 0.5009 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.263e-05/0.4098, allocations: 17.06 kB / 0.501 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.382e-06/0.4098, allocations: 3.062 kB / 0.501 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.82e-05/0.4098, allocations: 3.594 kB / 0.501 GB, free: 26.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.4098, allocations: 0 / 0.501 GB, free: 26.73 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 5.377e-05/0.4099, allocations: 121 kB / 0.5011 GB, free: 26.61 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.4099, allocations: 18.53 kB / 0.5011 GB, free: 26.59 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.378e-05/0.41, allocations: 15 kB / 0.5011 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.41, allocations: 0 / 0.5011 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.41, allocations: 0 / 0.5011 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.41, allocations: 3.938 kB / 0.5011 GB, free: 26.57 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001023/0.4101, allocations: 118.3 kB / 0.5012 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.4101, allocations: 0 / 0.5012 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.003e-05/0.4101, allocations: 13.2 kB / 0.5012 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.4101, allocations: 0 / 0.5012 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.4101, allocations: 0 / 0.5012 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.4101, allocations: 0 / 0.5012 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.4101, allocations: 0 / 0.5012 GB, free: 26.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.4103, allocations: 185.8 kB / 0.5014 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.065e-05/0.4103, allocations: 10.5 kB / 0.5014 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.4104, allocations: 0 / 0.5014 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.176e-05/0.4104, allocations: 3.531 kB / 0.5014 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.841e-05/0.4104, allocations: 0 / 0.5014 GB, free: 26.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.038e-06/0.4104, allocations: 3.25 kB / 0.5014 GB, free: 26.28 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.962e-05/0.4105, allocations: 93.39 kB / 0.5015 GB, free: 26.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.4105, allocations: 0 / 0.5015 GB, free: 26.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002238/0.4107, allocations: 10.22 kB / 0.5015 GB, free: 26.19 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (gain.y) * 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 (4): * Single equations (assignments): 4 * 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 6.575e-05/0.4108, allocations: 96.42 kB / 0.5016 GB, free: 26.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001412/0.4109, allocations: 38.03 kB / 0.5017 GB, free: 26.09 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.4109, allocations: 0 / 0.5017 GB, free: 26.09 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.804e-05/0.4109, allocations: 13.31 kB / 0.5017 GB, free: 26.09 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.4112, allocations: 24.52 kB / 0.5017 GB, free: 26.08 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003197/0.4115, allocations: 160.9 kB / 0.5018 GB, free: 25.94 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.475e-05/0.4116, allocations: 68.23 kB / 0.5019 GB, free: 25.87 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.023e-05/0.4116, allocations: 6.422 kB / 0.5019 GB, free: 25.87 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.444e-05/0.4116, allocations: 11.5 kB / 0.5019 GB, free: 25.86 MB / 446.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4116, allocations: 0 / 0.5019 GB, free: 25.86 MB / 446.1 MB Notification: Performance of Templates: time 0.002842/0.4145, allocations: 462.6 kB / 0.5024 GB, free: 25.77 MB / 446.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.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.140050949994475]