Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3.2.3_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 114.7 kB / 17.09 MB, free: 6.004 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.001186/0.001186, allocations: 194.2 kB / 18.02 MB, free: 5.086 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.302/1.302, allocations: 205.1 MB / 223.9 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1979/0.1979, allocations: 43.53 MB / 314.8 MB, free: 460 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001527/0.001527, allocations: 63.91 kB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09946/0.101, allocations: 57.78 MB / 0.4885 GB, free: 11.81 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002762/0.1038, allocations: 1.538 MB / 0.49 GB, free: 10.27 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002589/0.1041, allocations: 67.72 kB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.133e-05/0.1042, allocations: 0 / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.1043, allocations: 3.938 kB / 0.4901 GB, free: 10.2 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 4.101e-05/0.1043, allocations: 11.92 kB / 0.4901 GB, free: 10.18 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001366/0.1045, allocations: 23.92 kB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.1046, allocations: 31.92 kB / 0.4902 GB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.998e-05/0.1047, allocations: 19.95 kB / 0.4902 GB, free: 10.11 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.354e-05/0.1048, allocations: 11.94 kB / 0.4902 GB, free: 10.1 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.377e-05/0.1048, allocations: 15.92 kB / 0.4902 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.482e-05/0.1049, allocations: 0 / 0.4902 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.058e-05/0.1049, allocations: 4 kB / 0.4902 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.987e-05/0.1049, allocations: 7.938 kB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.1049, allocations: 11.94 kB / 0.4902 GB, free: 10.06 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001213/0.1051, allocations: 51.75 kB / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1051, allocations: 0 / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.143e-06/0.1051, allocations: 0 / 0.4903 GB, free: 10.01 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.153e-06/0.1051, allocations: 0 / 0.4903 GB, free: 10.01 MB / 382.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.0004582/0.1056, allocations: 351.3 kB / 0.4906 GB, free: 9.613 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.893e-05/0.1056, allocations: 11.89 kB / 0.4906 GB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.966e-05/0.1057, allocations: 8.891 kB / 0.4906 GB, free: 9.594 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002662/0.1059, allocations: 184.3 kB / 0.4908 GB, free: 9.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.106, allocations: 8.312 kB / 0.4908 GB, free: 9.367 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.106, allocations: 8.375 kB / 0.4908 GB, free: 9.359 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000162/0.1062, allocations: 68.75 kB / 0.4909 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.1062, allocations: 192 / 0.4909 GB, free: 9.277 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.371e-05/0.1062, allocations: 7.938 kB / 0.4909 GB, free: 9.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.1062, allocations: 4 kB / 0.4909 GB, free: 9.266 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.353e-05/0.1063, allocations: 19.98 kB / 0.4909 GB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005579/0.1069, allocations: 445.2 kB / 0.4914 GB, free: 8.754 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.107, allocations: 38.56 kB / 0.4914 GB, free: 8.707 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.205e-05/0.1071, allocations: 28.88 kB / 0.4914 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.326e-05/0.1071, allocations: 0 / 0.4914 GB, free: 8.676 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.1072, allocations: 30.56 kB / 0.4915 GB, free: 8.637 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1072, allocations: 3.938 kB / 0.4915 GB, free: 8.633 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004463/0.1076, allocations: 105.5 kB / 0.4916 GB, free: 8.523 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.635e-05/0.1076, allocations: 55.41 kB / 0.4916 GB, free: 8.457 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.803e-05/0.1077, allocations: 121.8 kB / 0.4917 GB, free: 8.328 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.393e-05/0.1078, allocations: 25.7 kB / 0.4917 GB, free: 8.297 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.975e-05/0.1078, allocations: 96.03 kB / 0.4918 GB, free: 8.199 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.1078, allocations: 15.89 kB / 0.4919 GB, free: 8.184 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.1079, allocations: 17.72 kB / 0.4919 GB, free: 8.16 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.108, allocations: 326.8 kB / 0.4922 GB, free: 7.832 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.699e-05/0.1081, allocations: 8 kB / 0.4922 GB, free: 7.824 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.026e-05/0.1081, allocations: 51.41 kB / 0.4922 GB, free: 7.762 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001091/0.1082, allocations: 55.36 kB / 0.4923 GB, free: 7.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1082, allocations: 0 / 0.4923 GB, free: 7.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000159/0.1084, allocations: 89.56 kB / 0.4924 GB, free: 7.602 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1084, allocations: 4 kB / 0.4924 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.1084, allocations: 0 / 0.4924 GB, free: 7.598 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1085, allocations: 4 kB / 0.4924 GB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/0.1085, allocations: 16.3 kB / 0.4924 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.196e-06/0.1085, allocations: 0 / 0.4924 GB, free: 7.578 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.033e-05/0.1086, allocations: 4 kB / 0.4924 GB, free: 7.574 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.1086, allocations: 4.375 kB / 0.4924 GB, free: 7.57 MB / 382.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.926e-05/0.1087, allocations: 117.8 kB / 0.4925 GB, free: 7.445 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.746e-05/0.1087, allocations: 15.94 kB / 0.4925 GB, free: 7.43 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.705e-05/0.1088, allocations: 11.89 kB / 0.4925 GB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.1088, allocations: 3.938 kB / 0.4926 GB, free: 7.406 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.1088, allocations: 8 kB / 0.4926 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.1088, allocations: 77.11 kB / 0.4926 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.306e-05/0.1088, allocations: 0 / 0.4926 GB, free: 7.305 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.662e-05/0.1089, allocations: 7.938 kB / 0.4926 GB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.616e-05/0.1089, allocations: 3.984 kB / 0.4926 GB, free: 7.293 MB / 382.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002268/0.1092, allocations: 148.9 kB / 0.4928 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002547/0.1094, allocations: 254.8 kB / 0.493 GB, free: 6.875 MB / 382.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.348e-05/0.1095, allocations: 19.95 kB / 0.493 GB, free: 6.855 MB / 382.1 MB Notification: Performance of sorting global known variables: time 5.682e-05/0.1096, allocations: 91.27 kB / 0.4931 GB, free: 6.766 MB / 382.1 MB Notification: Performance of Backend: time 6.01e-07/0.1096, allocations: 0 / 0.4931 GB, free: 6.766 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0003612/0.1099, allocations: 109 kB / 0.4932 GB, free: 6.656 MB / 382.1 MB Notification: Performance of SimCode: time 0.0005558/0.1105, allocations: 0.6119 MB / 0.4938 GB, free: 5.996 MB / 382.1 MB Notification: Performance of Templates: time 0.002752/0.1133, allocations: 0.5767 MB / 0.4944 GB, free: 5.422 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.sim & ./ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches