Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007902/0.0007902, allocations: 98.7 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009251/0.0009252, allocations: 181.3 kB / 18.91 MB, free: 4.871 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 223.3 MB / 243 MB, free: 14.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2013/0.2013, allocations: 44.24 MB / 338.3 MB, free: 2.422 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003354, allocations: 12 kB / 411 MB, free: 27.27 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1015/0.1018, allocations: 61.92 MB / 472.9 MB, free: 13.32 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.00181/0.1037, allocations: 1.265 MB / 474.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001971/0.1039, allocations: 51.88 kB / 474.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.111e-05/0.104, allocations: 3.938 kB / 474.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 8.439e-05/0.1041, allocations: 3.984 kB / 474.2 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 3.518e-05/0.1041, allocations: 7.938 kB / 474.2 MB, free: 11.97 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001216/0.1042, allocations: 19.97 kB / 474.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 9.326e-05/0.1043, allocations: 35.86 kB / 474.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.354e-05/0.1044, allocations: 8 kB / 474.3 MB, free: 11.91 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.884e-05/0.1045, allocations: 15.92 kB / 474.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.33e-05/0.1045, allocations: 11.88 kB / 474.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.275e-05/0.1045, allocations: 0 / 474.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.716e-06/0.1046, allocations: 4 kB / 474.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.297e-05/0.1046, allocations: 0 / 474.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.989e-05/0.1046, allocations: 49.56 kB / 474.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 6.572e-05/0.1047, allocations: 24.23 kB / 474.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.1047, allocations: 4 kB / 474.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1047, allocations: 0 / 474.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.298e-06/0.1047, allocations: 0 / 474.4 MB, free: 11.79 MB / 350.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.0003894/0.1051, allocations: 341.8 kB / 474.7 MB, free: 11.41 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.863e-05/0.1052, allocations: 12.03 kB / 474.8 MB, free: 11.4 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.1052, allocations: 4.844 kB / 474.8 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001744/0.1054, allocations: 180.3 kB / 474.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.202e-05/0.1054, allocations: 4.375 kB / 474.9 MB, free: 11.18 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.146e-05/0.1054, allocations: 4.375 kB / 474.9 MB, free: 11.17 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1056, allocations: 76.75 kB / 475 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1056, allocations: 192 / 475 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.064e-05/0.1056, allocations: 3.938 kB / 475 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.498e-06/0.1056, allocations: 0 / 475 MB, free: 11.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001065/0.1057, allocations: 43.84 kB / 475.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.1063, allocations: 445.1 kB / 475.5 MB, free: 10.54 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001669/0.1064, allocations: 58.48 kB / 475.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.995e-05/0.1065, allocations: 12.86 kB / 475.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.039e-05/0.1065, allocations: 0 / 475.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.178e-05/0.1065, allocations: 34.56 kB / 475.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.1065, allocations: 0 / 475.6 MB, free: 10.42 MB / 350.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004495/0.107, allocations: 121.5 kB / 475.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.107, allocations: 51.41 kB / 475.8 MB, free: 10.23 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.756e-05/0.1071, allocations: 113.8 kB / 475.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1072, allocations: 25.7 kB / 475.9 MB, free: 10.08 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.217e-05/0.1072, allocations: 104 kB / 476 MB, free: 9.973 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.1072, allocations: 11.75 kB / 476 MB, free: 9.961 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.679e-05/0.1073, allocations: 17.72 kB / 476 MB, free: 9.938 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 8.87e-05/0.1074, allocations: 318.8 kB / 476.4 MB, free: 9.617 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.131e-05/0.1074, allocations: 16 kB / 476.4 MB, free: 9.602 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.221e-05/0.1075, allocations: 39.42 kB / 476.4 MB, free: 9.551 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.1076, allocations: 67.36 kB / 476.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1076, allocations: 0 / 476.5 MB, free: 9.473 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001589/0.1078, allocations: 93.55 kB / 476.6 MB, free: 9.375 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.1078, allocations: 4 kB / 476.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.1078, allocations: 0 / 476.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1078, allocations: 4 kB / 476.6 MB, free: 9.367 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.224e-05/0.1079, allocations: 11.98 kB / 476.6 MB, free: 9.355 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.1079, allocations: 4 kB / 476.6 MB, free: 9.352 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.838e-05/0.108, allocations: 4 kB / 476.6 MB, free: 9.348 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.04e-06/0.108, allocations: 0 / 476.6 MB, free: 9.348 MB / 350.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 7.558e-05/0.1081, allocations: 121.9 kB / 476.7 MB, free: 9.219 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.813e-05/0.1081, allocations: 11.89 kB / 476.7 MB, free: 9.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.414e-05/0.1081, allocations: 7.906 kB / 476.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.1081, allocations: 0 / 476.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.997e-06/0.1081, allocations: 0 / 476.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.1081, allocations: 384 / 476.7 MB, free: 9.199 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001621/0.1083, allocations: 177.5 kB / 476.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1083, allocations: 0 / 476.9 MB, free: 8.977 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.161e-05/0.1084, allocations: 11.98 kB / 476.9 MB, free: 8.965 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1084, allocations: 7.938 kB / 476.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.214e-06/0.1084, allocations: 0 / 476.9 MB, free: 8.957 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.1084, allocations: 8 kB / 476.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1084, allocations: 0 / 476.9 MB, free: 8.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002265/0.1087, allocations: 183.8 kB / 477.1 MB, free: 8.754 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.574e-05/0.1087, allocations: 85.08 kB / 477.2 MB, free: 8.652 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.1087, allocations: 3.984 kB / 477.2 MB, free: 8.648 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.009e-05/0.1088, allocations: 4.031 kB / 477.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.719e-05/0.1088, allocations: 0 / 477.2 MB, free: 8.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.1088, allocations: 4 kB / 477.2 MB, free: 8.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 4.573e-05/0.1089, allocations: 95.2 kB / 477.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.833e-06/0.1089, allocations: 0 / 477.3 MB, free: 8.547 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002165/0.1091, allocations: 7.938 kB / 477.3 MB, free: 8.539 MB / 350.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 9.551e-05/0.1092, allocations: 103.7 kB / 477.4 MB, free: 8.426 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001392/0.1094, allocations: 43.91 kB / 477.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1094, allocations: 0 / 477.4 MB, free: 8.383 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 5.007e-05/0.1094, allocations: 16 kB / 477.5 MB, free: 8.367 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002834/0.1097, allocations: 14.48 kB / 477.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004135/0.1101, allocations: 210.4 kB / 477.7 MB, free: 8.117 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.1104, allocations: 0.6887 MB / 478.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.635e-05/0.1104, allocations: 7.438 kB / 478.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.1104, allocations: 0 / 478.4 MB, free: 7.395 MB / 350.1 MB Notification: Performance of Templates: time 0.002027/0.1125, allocations: 0.771 MB / 479.1 MB, free: 6.625 MB / 350.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches