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.001294/0.001294, allocations: 111.9 kB / 17.08 MB, free: 5.789 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.001344/0.001344, allocations: 200.1 kB / 18.01 MB, free: 4.918 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.295/1.295, allocations: 205.1 MB / 223.9 MB, free: 12.2 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.1946/0.1946, allocations: 43.52 MB / 314.8 MB, free: 440 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.001426/0.001426, allocations: 65.62 kB / 442.5 MB, free: 5.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0898/0.09123, allocations: 57.78 MB / 0.4885 GB, free: 11.79 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002642/0.0939, allocations: 1.56 MB / 0.49 GB, free: 10.22 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002556/0.09419, allocations: 59.75 kB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.894e-05/0.09427, allocations: 0 / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000108/0.09439, allocations: 7.922 kB / 0.4901 GB, free: 10.16 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 3.862e-05/0.09445, allocations: 7.922 kB / 0.4901 GB, free: 10.15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001352/0.0946, allocations: 23.92 kB / 0.4901 GB, free: 10.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001108/0.09471, allocations: 31.92 kB / 0.4902 GB, free: 10.09 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.09482, allocations: 15.97 kB / 0.4902 GB, free: 10.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.963e-05/0.09486, allocations: 11.94 kB / 0.4902 GB, free: 10.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.136e-05/0.09492, allocations: 15.92 kB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.915e-05/0.09494, allocations: 4 kB / 0.4902 GB, free: 10.05 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.09496, allocations: 4 kB / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.822e-05/0.09498, allocations: 7.938 kB / 0.4902 GB, free: 10.04 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.09503, allocations: 19.91 kB / 0.4902 GB, free: 10.02 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001006/0.09513, allocations: 39.84 kB / 0.4903 GB, free: 9.977 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.09515, allocations: 0 / 0.4903 GB, free: 9.977 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.472e-06/0.09515, allocations: 0 / 0.4903 GB, free: 9.977 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.757e-06/0.09516, allocations: 0 / 0.4903 GB, free: 9.977 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.0004332/0.0956, allocations: 355.2 kB / 0.4906 GB, free: 9.578 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.495e-05/0.09564, allocations: 11.89 kB / 0.4906 GB, free: 9.566 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.409e-05/0.09568, allocations: 8.844 kB / 0.4906 GB, free: 9.559 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.0959, allocations: 172.4 kB / 0.4908 GB, free: 9.352 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/0.09592, allocations: 12.36 kB / 0.4908 GB, free: 9.34 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.473e-05/0.09595, allocations: 4.359 kB / 0.4908 GB, free: 9.336 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.09612, allocations: 68.83 kB / 0.4909 GB, free: 9.254 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.09614, allocations: 4.125 kB / 0.4909 GB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.09616, allocations: 7.938 kB / 0.4909 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.036e-06/0.09617, allocations: 0 / 0.4909 GB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.982e-05/0.09627, allocations: 23.98 kB / 0.4909 GB, free: 9.219 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004933/0.09677, allocations: 449.1 kB / 0.4914 GB, free: 8.723 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/0.09694, allocations: 46.5 kB / 0.4914 GB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.772e-05/0.097, allocations: 12.86 kB / 0.4914 GB, free: 8.652 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.238e-05/0.09702, allocations: 4 kB / 0.4914 GB, free: 8.648 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.09706, allocations: 34.56 kB / 0.4914 GB, free: 8.605 MB / 382.1 MB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.09706, allocations: 0 / 0.4914 GB, free: 8.605 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.000447/0.09751, allocations: 109.4 kB / 0.4915 GB, free: 8.492 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.403e-05/0.09756, allocations: 51.41 kB / 0.4916 GB, free: 8.43 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.462e-05/0.09765, allocations: 121.8 kB / 0.4917 GB, free: 8.301 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.383e-05/0.09767, allocations: 29.7 kB / 0.4917 GB, free: 8.266 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.09773, allocations: 92.03 kB / 0.4918 GB, free: 8.172 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.507e-05/0.09775, allocations: 19.75 kB / 0.4918 GB, free: 8.152 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.07e-05/0.0978, allocations: 17.72 kB / 0.4919 GB, free: 8.129 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.0979, allocations: 318.8 kB / 0.4922 GB, free: 7.809 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.952e-05/0.09797, allocations: 12 kB / 0.4922 GB, free: 7.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.657e-05/0.09803, allocations: 43.42 kB / 0.4922 GB, free: 7.742 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001082/0.09815, allocations: 63.34 kB / 0.4923 GB, free: 7.668 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.52e-07/0.09816, allocations: 0 / 0.4923 GB, free: 7.668 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001592/0.09832, allocations: 81.66 kB / 0.4924 GB, free: 7.582 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.09835, allocations: 11.98 kB / 0.4924 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.09836, allocations: 0 / 0.4924 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.09837, allocations: 0 / 0.4924 GB, free: 7.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.114e-05/0.09844, allocations: 12.38 kB / 0.4924 GB, free: 7.559 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.09846, allocations: 3.938 kB / 0.4924 GB, free: 7.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.836e-05/0.0985, allocations: 4 kB / 0.4924 GB, free: 7.551 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.09851, allocations: 0 / 0.4924 GB, free: 7.551 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 8.025e-05/0.0986, allocations: 129.6 kB / 0.4925 GB, free: 7.414 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.775e-05/0.09863, allocations: 15.95 kB / 0.4925 GB, free: 7.398 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.654e-05/0.09866, allocations: 7.906 kB / 0.4925 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.674e-06/0.09867, allocations: 0 / 0.4925 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.09868, allocations: 0 / 0.4925 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.09868, allocations: 0 / 0.4925 GB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001625/0.09885, allocations: 177.6 kB / 0.4927 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.09886, allocations: 0 / 0.4927 GB, free: 7.16 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.257e-05/0.09894, allocations: 15.98 kB / 0.4927 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.09895, allocations: 0 / 0.4927 GB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.09896, allocations: 3.938 kB / 0.4927 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.09897, allocations: 0 / 0.4927 GB, free: 7.141 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.09898, allocations: 4 kB / 0.4927 GB, free: 7.137 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002268/0.09921, allocations: 183.3 kB / 0.4929 GB, free: 6.941 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.624e-05/0.09925, allocations: 85.12 kB / 0.493 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.09927, allocations: 0 / 0.493 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.814e-05/0.09933, allocations: 0 / 0.493 GB, free: 6.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.144e-05/0.09937, allocations: 4 kB / 0.493 GB, free: 6.836 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.667e-06/0.09938, allocations: 4.438 kB / 0.493 GB, free: 6.832 MB / 382.1 MB Notification: Performance of sorting global known variables: time 4.486e-05/0.09943, allocations: 95.2 kB / 0.4931 GB, free: 6.738 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.09944, allocations: 0 / 0.4931 GB, free: 6.738 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002178/0.09966, allocations: 4 kB / 0.4931 GB, free: 6.734 MB / 382.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.798e-05/0.09976, allocations: 99.19 kB / 0.4932 GB, free: 6.629 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.09992, allocations: 39.91 kB / 0.4932 GB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.09993, allocations: 0 / 0.4932 GB, free: 6.59 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 4.6e-05/0.09998, allocations: 24.17 kB / 0.4932 GB, free: 6.566 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.1003, allocations: 8 kB / 0.4933 GB, free: 6.559 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.1007, allocations: 192.1 kB / 0.4934 GB, free: 6.336 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.1009, allocations: 0.692 MB / 0.4941 GB, free: 5.621 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.806e-05/0.1009, allocations: 11.44 kB / 0.4941 GB, free: 5.609 MB / 382.1 MB Notification: Performance of SimCode: time 4e-07/0.101, allocations: 0 / 0.4941 GB, free: 5.609 MB / 382.1 MB Notification: Performance of Templates: time 0.00198/0.1029, allocations: 0.7934 MB / 0.4949 GB, free: 4.812 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