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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") translateModel(ModelicaTest.Blocks.IntegratorForceState,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|gain.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001391/0.001392, allocations: 109.8 kB / 18.45 MB, free: 4.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00135/0.00135, allocations: 209.9 kB / 19.4 MB, free: 3.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.512/1.512, allocations: 227.4 MB / 247.6 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2344/0.2344, allocations: 46.09 MB / 344.9 MB, free: 11.55 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001579/0.001579, allocations: 79.88 kB / 482 MB, free: 4.109 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3763/0.3779, allocations: 62.43 MB / 0.5316 GB, free: 13.61 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002783/0.3807, allocations: 1.56 MB / 0.5332 GB, free: 12.39 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002797/0.381, allocations: 77.47 kB / 0.5332 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.174e-05/0.3811, allocations: 1.375 kB / 0.5332 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.3812, allocations: 7.922 kB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.425e-05/0.3813, allocations: 5.312 kB / 0.5333 GB, free: 12.32 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001359/0.3814, allocations: 16.11 kB / 0.5333 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000117/0.3815, allocations: 42.97 kB / 0.5333 GB, free: 12.28 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001063/0.3817, allocations: 12.11 kB / 0.5333 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.792e-05/0.3817, allocations: 13.44 kB / 0.5333 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.799e-05/0.3818, allocations: 14.67 kB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.3818, allocations: 2.75 kB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.296e-05/0.3818, allocations: 2.75 kB / 0.5334 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.3818, allocations: 9.312 kB / 0.5334 GB, free: 12.24 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.3819, allocations: 19.98 kB / 0.5334 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.382, allocations: 36.08 kB / 0.5334 GB, free: 12.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.382, allocations: 1.375 kB / 0.5334 GB, free: 12.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.382, allocations: 0 / 0.5334 GB, free: 12.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.538e-06/0.382, allocations: 4 kB / 0.5334 GB, free: 12.2 MB / 398.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.0004828/0.3825, allocations: 347.7 kB / 0.5338 GB, free: 11.82 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.629e-05/0.3825, allocations: 9.625 kB / 0.5338 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.674e-05/0.3826, allocations: 11.59 kB / 0.5338 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002114/0.3828, allocations: 176.8 kB / 0.5339 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.054e-05/0.3828, allocations: 1.719 kB / 0.5339 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.3828, allocations: 7 kB / 0.534 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001567/0.383, allocations: 74.09 kB / 0.534 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.283e-06/0.383, allocations: 4.125 kB / 0.534 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.383, allocations: 9.344 kB / 0.534 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.383, allocations: 0 / 0.534 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.537e-05/0.3832, allocations: 25.89 kB / 0.5341 GB, free: 11.51 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005105/0.3837, allocations: 448.8 kB / 0.5345 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001659/0.3838, allocations: 42.75 kB / 0.5345 GB, free: 11 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.767e-05/0.3839, allocations: 15.92 kB / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.3839, allocations: 1.062 kB / 0.5345 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.384, allocations: 43.55 kB / 0.5346 GB, free: 10.94 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.384, allocations: 0 / 0.5346 GB, free: 10.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004627/0.3844, allocations: 111.4 kB / 0.5347 GB, free: 10.87 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.3845, allocations: 56.41 kB / 0.5347 GB, free: 10.8 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.91e-05/0.3846, allocations: 114.5 kB / 0.5349 GB, free: 10.69 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.3846, allocations: 25.7 kB / 0.5349 GB, free: 10.66 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.79e-05/0.3847, allocations: 90.61 kB / 0.535 GB, free: 10.57 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.496e-05/0.3847, allocations: 22.44 kB / 0.535 GB, free: 10.55 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.018e-05/0.3848, allocations: 22.2 kB / 0.535 GB, free: 10.53 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001276/0.3849, allocations: 321.4 kB / 0.5353 GB, free: 10.21 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.859e-05/0.3849, allocations: 11.55 kB / 0.5353 GB, free: 10.2 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.71e-05/0.385, allocations: 42.45 kB / 0.5354 GB, free: 10.16 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001089/0.3851, allocations: 60.61 kB / 0.5354 GB, free: 10.11 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.3851, allocations: 0 / 0.5354 GB, free: 10.11 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001556/0.3853, allocations: 92.36 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.3853, allocations: 6.406 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.271e-06/0.3853, allocations: 1.125 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.3854, allocations: 5.125 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.551e-05/0.3854, allocations: 13.67 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.992e-06/0.3854, allocations: 1.125 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.679e-05/0.3855, allocations: 2.5 kB / 0.5355 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.3855, allocations: 3.5 kB / 0.5355 GB, free: 10.04 MB / 398.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.184e-05/0.3856, allocations: 120.2 kB / 0.5357 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.324e-05/0.3856, allocations: 2.281 kB / 0.5357 GB, free: 9.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.635e-05/0.3856, allocations: 13.52 kB / 0.5357 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3856, allocations: 5.219 kB / 0.5357 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3857, allocations: 0 / 0.5357 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.3857, allocations: 1.156 kB / 0.5357 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001712/0.3858, allocations: 174.2 kB / 0.5358 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.055e-06/0.3859, allocations: 1.188 kB / 0.5358 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.3859, allocations: 11.72 kB / 0.5359 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.3859, allocations: 1.594 kB / 0.5359 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.192e-05/0.386, allocations: 3.984 kB / 0.5359 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.386, allocations: 1.625 kB / 0.5359 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.386, allocations: 0 / 0.5359 GB, free: 9.672 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002342/0.3862, allocations: 181.6 kB / 0.536 GB, free: 9.508 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.127e-05/0.3863, allocations: 79.08 kB / 0.5361 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.464e-05/0.3863, allocations: 5.859 kB / 0.5361 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.902e-05/0.3863, allocations: 1.812 kB / 0.5361 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.3864, allocations: 0 / 0.5361 GB, free: 9.41 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.3864, allocations: 2.031 kB / 0.5361 GB, free: 9.41 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.878e-05/0.3864, allocations: 94.05 kB / 0.5362 GB, free: 9.324 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3865, allocations: 5.25 kB / 0.5362 GB, free: 9.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002241/0.3867, allocations: 4.781 kB / 0.5362 GB, free: 9.32 MB / 398.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.735e-05/0.3868, allocations: 98.53 kB / 0.5363 GB, free: 9.227 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001537/0.3869, allocations: 40.25 kB / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.387, allocations: 0 / 0.5364 GB, free: 9.211 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 4.339e-05/0.387, allocations: 15.12 kB / 0.5364 GB, free: 9.207 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.3873, allocations: 11.58 kB / 0.5364 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003875/0.3877, allocations: 185.1 kB / 0.5366 GB, free: 9.023 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002708/0.388, allocations: 0.6855 MB / 0.5372 GB, free: 8.32 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.013e-05/0.388, allocations: 10.19 kB / 0.5372 GB, free: 8.312 MB / 398.1 MB Notification: Performance of SimCode: time 2.21e-07/0.388, allocations: 1.375 kB / 0.5372 GB, free: 8.312 MB / 398.1 MB Notification: Performance of Templates: time 0.002082/0.3901, allocations: 0.7679 MB / 0.538 GB, free: 7.922 MB / 398.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.makefile (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 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches