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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008916/0.0008916, allocations: 88.33 kB / 20.67 MB, free: 3.875 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008333/0.0008333, allocations: 160.9 kB / 23.95 MB, free: 0.5977 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9469/0.9469, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.264/0.264, allocations: 34.24 MB / 294.8 MB, free: 0.6914 MB / 266.7 MB " [Timeout remaining time 180] 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: "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.IntegratorForceState,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.685e-06/2.685e-06, allocations: 0 / 442.1 MB, free: 1.598 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.505e-05/2.773e-05, allocations: 2.281 kB / 442.1 MB, free: 1.594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.IntegratorForceState): time 0.002264/0.002292, allocations: 1.566 MB / 443.7 MB, free: 16 kB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1795/0.1818, allocations: 64.89 kB / 443.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.717e-05/0.1819, allocations: 0.75 kB / 443.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001081/0.182, allocations: 7.828 kB / 443.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 3.018e-05/0.1821, allocations: 3.188 kB / 443.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001343/0.1822, allocations: 17.58 kB / 443.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 9.969e-05/0.1823, allocations: 43.89 kB / 443.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.683e-05/0.1824, allocations: 7.906 kB / 443.8 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.255e-05/0.1824, allocations: 19.66 kB / 443.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.831e-05/0.1825, allocations: 9.828 kB / 443.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.935e-05/0.1825, allocations: 7.609 kB / 443.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.915e-06/0.1825, allocations: 2.656 kB / 443.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.526e-05/0.1825, allocations: 2.625 kB / 443.9 MB, free: 43.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.1826, allocations: 15.12 kB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.1827, allocations: 33.5 kB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.1827, allocations: 3.984 kB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.262e-06/0.1827, allocations: 2.594 kB / 443.9 MB, free: 43.21 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.279e-06/0.1827, allocations: 0 / 443.9 MB, free: 43.21 MB / 410.7 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.0003219/0.183, allocations: 277.1 kB / 444.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.761e-05/0.183, allocations: 8.344 kB / 444.2 MB, free: 42.95 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.286e-05/0.1831, allocations: 34.56 kB / 444.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.147e-05/0.1831, allocations: 6 kB / 444.3 MB, free: 42.91 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001816/0.1833, allocations: 122.5 kB / 444.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.347e-06/0.1833, allocations: 5.281 kB / 444.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.787e-05/0.1833, allocations: 7.094 kB / 444.4 MB, free: 42.78 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.1834, allocations: 75.3 kB / 444.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.164e-06/0.1834, allocations: 192 / 444.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.1834, allocations: 3.656 kB / 444.5 MB, free: 42.73 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.1834, allocations: 4.125 kB / 444.5 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.593e-05/0.1835, allocations: 26.17 kB / 444.5 MB, free: 42.72 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.1838, allocations: 416.2 kB / 444.9 MB, free: 42.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.1839, allocations: 50.42 kB / 445 MB, free: 42.3 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.561e-05/0.1839, allocations: 12.2 kB / 445 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.184, allocations: 0 / 445 MB, free: 42.29 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.129e-05/0.184, allocations: 36.92 kB / 445 MB, free: 42.25 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.322e-06/0.184, allocations: 2.344 kB / 445 MB, free: 42.25 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003368/0.1843, allocations: 113.6 kB / 445.1 MB, free: 42.21 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.038e-05/0.1843, allocations: 51.41 kB / 445.2 MB, free: 42.15 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.558e-05/0.1844, allocations: 114 kB / 445.3 MB, free: 42.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 5.661e-06/0.1844, allocations: 25.7 kB / 445.3 MB, free: 42.02 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.1844, allocations: 92.84 kB / 445.4 MB, free: 41.93 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.257e-06/0.1844, allocations: 18.41 kB / 445.4 MB, free: 41.92 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.1844, allocations: 21.56 kB / 445.4 MB, free: 41.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 2.903e-05/0.1845, allocations: 319.5 kB / 445.7 MB, free: 41.59 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.163e-05/0.1845, allocations: 11.84 kB / 445.8 MB, free: 41.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.6e-05/0.1845, allocations: 48.62 kB / 445.8 MB, free: 41.56 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.233e-05/0.1846, allocations: 63.16 kB / 445.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1846, allocations: 0 / 445.9 MB, free: 41.52 MB / 410.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.657e-05/0.1847, allocations: 87.73 kB / 445.9 MB, free: 41.48 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.1847, allocations: 8.219 kB / 446 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.1847, allocations: 3.141 kB / 446 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/0.1847, allocations: 2.906 kB / 446 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.06e-05/0.1848, allocations: 12.12 kB / 446 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.1848, allocations: 5.781 kB / 446 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.084e-05/0.1848, allocations: 6.266 kB / 446 MB, free: 41.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.735e-06/0.1848, allocations: 6.625 kB / 446 MB, free: 41.48 MB / 410.7 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 4.607e-05/0.1848, allocations: 121.9 kB / 446.1 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.244e-05/0.1849, allocations: 2.906 kB / 446.1 MB, free: 41.36 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.083e-05/0.1849, allocations: 4 kB / 446.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-06/0.1849, allocations: 0 / 446.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1849, allocations: 96 / 446.1 MB, free: 41.35 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1849, allocations: 10.25 kB / 446.1 MB, free: 41.34 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.914e-05/0.185, allocations: 139.2 kB / 446.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.185, allocations: 0 / 446.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.415e-05/0.185, allocations: 13.8 kB / 446.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.185, allocations: 0 / 446.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.185, allocations: 3.875 kB / 446.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.185, allocations: 2.906 kB / 446.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.313e-06/0.185, allocations: 0 / 446.3 MB, free: 41.19 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001436/0.1852, allocations: 182.4 kB / 446.5 MB, free: 41.05 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-06/0.1852, allocations: 8.016 kB / 446.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.241e-05/0.1852, allocations: 8.969 kB / 446.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.961e-05/0.1852, allocations: 0 / 446.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.289e-05/0.1852, allocations: 3 kB / 446.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.845e-06/0.1852, allocations: 0 / 446.5 MB, free: 41.04 MB / 410.7 MB Notification: Performance of sorting global known variables: time 2.029e-05/0.1853, allocations: 92.69 kB / 446.6 MB, free: 40.96 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.1853, allocations: 0 / 446.6 MB, free: 40.96 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001434/0.1854, allocations: 9.094 kB / 446.6 MB, free: 40.96 MB / 410.7 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.0002133/0.1856, allocations: 0.7043 MB / 447.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000103/0.1857, allocations: 41.02 kB / 447.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1857, allocations: 0 / 447.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 2.049e-05/0.1857, allocations: 18.12 kB / 447.3 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.186, allocations: 8.312 kB / 447.4 MB, free: 40.3 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006959/0.1866, allocations: 1.364 MB / 448.7 MB, free: 39.08 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.535e-05/0.1867, allocations: 77.05 kB / 448.8 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.939e-05/0.1867, allocations: 3.25 kB / 448.8 MB, free: 39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.1867, allocations: 18.19 kB / 448.8 MB, free: 39 MB / 410.7 MB Notification: Performance of SimCode: time 9.32e-07/0.1867, allocations: 0 / 448.8 MB, free: 39 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.2012, allocations: 2.172 MB / 451 MB, free: 38.11 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.569/6.77, allocations: 4.938 kB / 451 MB, free: 38.1 MB / 410.7 MB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_IntegratorForceState.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.IntegratorForceState_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.815031827427447]