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.001294/0.001294, allocations: 118.2 kB / 17.79 MB, free: 5.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001344/0.001344, allocations: 197.2 kB / 18.73 MB, free: 4.363 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.437/1.437, allocations: 227.4 MB / 246.9 MB, free: 10.54 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2319/0.2319, allocations: 46.1 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.001519, allocations: 75.88 kB / 481.3 MB, free: 4.105 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.3551, allocations: 62.43 MB / 0.531 GB, free: 13.62 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.003094/0.3583, allocations: 1.563 MB / 0.5325 GB, free: 12.4 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003217/0.3586, allocations: 78.16 kB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.044e-05/0.3587, allocations: 1.406 kB / 0.5326 GB, free: 12.34 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001052/0.3588, allocations: 3.938 kB / 0.5326 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 3.395e-05/0.3589, allocations: 3.938 kB / 0.5326 GB, free: 12.33 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001382/0.359, allocations: 29.44 kB / 0.5326 GB, free: 12.3 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.3592, allocations: 34.45 kB / 0.5326 GB, free: 12.29 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.731e-05/0.3593, allocations: 16.69 kB / 0.5327 GB, free: 12.27 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.085e-05/0.3593, allocations: 16.55 kB / 0.5327 GB, free: 12.26 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.245e-05/0.3594, allocations: 16 kB / 0.5327 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.441e-05/0.3594, allocations: 2.062 kB / 0.5327 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.739e-06/0.3594, allocations: 2.469 kB / 0.5327 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 1.663e-05/0.3594, allocations: 5.172 kB / 0.5327 GB, free: 12.25 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 3.125e-05/0.3595, allocations: 19.5 kB / 0.5327 GB, free: 12.23 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 9.772e-05/0.3596, allocations: 37.27 kB / 0.5328 GB, free: 12.2 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.3596, allocations: 0 / 0.5328 GB, free: 12.2 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.913e-06/0.3596, allocations: 1.219 kB / 0.5328 GB, free: 12.2 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.679e-06/0.3596, allocations: 0 / 0.5328 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.0004289/0.36, allocations: 352.5 kB / 0.5331 GB, free: 11.83 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.3601, allocations: 8.438 kB / 0.5331 GB, free: 11.83 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.3601, allocations: 7.656 kB / 0.5331 GB, free: 11.82 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.3603, allocations: 188.5 kB / 0.5333 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.021e-05/0.3604, allocations: 6.062 kB / 0.5333 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.399e-05/0.3604, allocations: 3.844 kB / 0.5333 GB, free: 11.61 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.3605, allocations: 69.53 kB / 0.5334 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3606, allocations: 192 / 0.5334 GB, free: 11.54 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.212e-05/0.3606, allocations: 5.969 kB / 0.5334 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3606, allocations: 0 / 0.5334 GB, free: 11.53 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.034e-05/0.3607, allocations: 25.36 kB / 0.5334 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000506/0.3612, allocations: 453 kB / 0.5338 GB, free: 11.04 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001639/0.3614, allocations: 39.31 kB / 0.5339 GB, free: 11.01 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.275e-05/0.3614, allocations: 22.69 kB / 0.5339 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.641e-05/0.3615, allocations: 1.406 kB / 0.5339 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.568e-05/0.3615, allocations: 30.56 kB / 0.5339 GB, free: 10.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=3): time 1.222e-06/0.3615, allocations: 0.9375 kB / 0.5339 GB, free: 10.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004682/0.362, allocations: 110.8 kB / 0.534 GB, free: 10.88 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.082e-05/0.362, allocations: 52.56 kB / 0.5341 GB, free: 10.82 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.736e-05/0.3621, allocations: 118.7 kB / 0.5342 GB, free: 10.7 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.237e-05/0.3621, allocations: 25.7 kB / 0.5342 GB, free: 10.67 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.3622, allocations: 90.48 kB / 0.5343 GB, free: 10.58 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.667e-05/0.3622, allocations: 22.89 kB / 0.5343 GB, free: 10.56 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.88e-05/0.3623, allocations: 18.22 kB / 0.5343 GB, free: 10.54 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.3624, allocations: 321.5 kB / 0.5346 GB, free: 10.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.988e-05/0.3624, allocations: 16.19 kB / 0.5347 GB, free: 10.21 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.959e-05/0.3625, allocations: 42.42 kB / 0.5347 GB, free: 10.17 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001109/0.3626, allocations: 63.92 kB / 0.5348 GB, free: 10.12 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.3626, allocations: 0 / 0.5348 GB, free: 10.12 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001545/0.3628, allocations: 93.11 kB / 0.5348 GB, free: 10.05 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3628, allocations: 9.484 kB / 0.5349 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3628, allocations: 1.375 kB / 0.5349 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.3628, allocations: 1.375 kB / 0.5349 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.158e-05/0.3629, allocations: 9.625 kB / 0.5349 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3629, allocations: 1.375 kB / 0.5349 GB, free: 10.05 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.089e-05/0.363, allocations: 7.109 kB / 0.5349 GB, free: 10.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.096e-05/0.363, allocations: 2.75 kB / 0.5349 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.834e-05/0.3631, allocations: 124.5 kB / 0.535 GB, free: 9.914 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.668e-05/0.3631, allocations: 10.73 kB / 0.535 GB, free: 9.906 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.376e-05/0.3631, allocations: 9.281 kB / 0.535 GB, free: 9.895 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.965e-06/0.3631, allocations: 4 kB / 0.535 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3631, allocations: 1.375 kB / 0.535 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.3632, allocations: 0 / 0.535 GB, free: 9.891 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00018/0.3633, allocations: 169.8 kB / 0.5352 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.3633, allocations: 1.375 kB / 0.5352 GB, free: 9.684 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.308e-05/0.3634, allocations: 12.23 kB / 0.5352 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.3634, allocations: 0 / 0.5352 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.3635, allocations: 1.375 kB / 0.5352 GB, free: 9.68 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.3635, allocations: 4 kB / 0.5352 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3635, allocations: 1.375 kB / 0.5352 GB, free: 9.676 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002801/0.3638, allocations: 181.5 kB / 0.5354 GB, free: 9.512 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.092e-05/0.3638, allocations: 78.48 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.557e-05/0.3638, allocations: 1.375 kB / 0.5354 GB, free: 9.418 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.365e-05/0.3639, allocations: 5.375 kB / 0.5355 GB, free: 9.414 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-05/0.3639, allocations: 9.422 kB / 0.5355 GB, free: 9.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/0.364, allocations: 1.375 kB / 0.5355 GB, free: 9.406 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.428e-05/0.364, allocations: 87.53 kB / 0.5355 GB, free: 9.328 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.364, allocations: 0 / 0.5355 GB, free: 9.328 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.000227/0.3643, allocations: 5.5 kB / 0.5356 GB, free: 9.328 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 0.0001333/0.3644, allocations: 99.83 kB / 0.5356 GB, free: 9.234 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001841/0.3646, allocations: 39.3 kB / 0.5357 GB, free: 9.219 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.3646, allocations: 4.188 kB / 0.5357 GB, free: 9.215 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 5.071e-05/0.3647, allocations: 22.92 kB / 0.5357 GB, free: 9.203 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002965/0.365, allocations: 6.781 kB / 0.5357 GB, free: 9.203 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004173/0.3654, allocations: 161.4 kB / 0.5359 GB, free: 9.055 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002704/0.3657, allocations: 0.6823 MB / 0.5365 GB, free: 8.355 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 3.716e-05/0.3657, allocations: 6.734 kB / 0.5365 GB, free: 8.352 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.46e-05/0.3658, allocations: 18.19 kB / 0.5366 GB, free: 8.336 MB / 398.1 MB Notification: Performance of SimCode: time 2.61e-07/0.3658, allocations: 0 / 0.5366 GB, free: 8.336 MB / 398.1 MB Notification: Performance of Templates: time 0.002655/0.3684, allocations: 459.4 kB / 0.537 GB, free: 8.105 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Blocks/IntegratorForceState/IntegratorForceState.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches