Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.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.001247/0.001247, allocations: 105.1 kB / 21.22 MB, free: 0.6289 MB / 14.72 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.001353/0.001353, allocations: 212.7 kB / 24.52 MB, free: 3.91 MB / 14.72 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 1.405/1.405, allocations: 230.5 MB / 258.2 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] 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.2249/0.2249, allocations: 46.94 MB / 361.6 MB, free: 3.891 MB / 286.1 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.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Spring,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002417/0.002417, allocations: 79.88 kB / 0.4969 GB, free: 7.512 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.296, allocations: 66.08 MB / 0.5614 GB, free: 3.992 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.Spring): time 0.01291/0.309, allocations: 9.874 MB / 0.5711 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.008044/0.317, allocations: 3.868 MB / 0.5749 GB, free: 6.191 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001506/0.3185, allocations: 79.56 kB / 0.5749 GB, free: 6.113 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.005215/0.3237, allocations: 2.429 MB / 0.5773 GB, free: 3.676 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004982/0.3287, allocations: 1.899 MB / 0.5792 GB, free: 1.77 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001876/0.3306, allocations: 0.78 MB / 0.5799 GB, free: 0.9883 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.006844/0.3374, allocations: 4.505 MB / 0.5843 GB, free: 12.47 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004395/0.3418, allocations: 2.783 MB / 0.587 GB, free: 9.637 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002953/0.3448, allocations: 1.577 MB / 0.5886 GB, free: 8.055 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003927/0.3487, allocations: 2.399 MB / 0.5909 GB, free: 5.648 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001251/0.3499, allocations: 343.9 kB / 0.5913 GB, free: 5.312 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002395/0.3523, allocations: 0.87 MB / 0.5921 GB, free: 4.441 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002665/0.355, allocations: 1.967 MB / 0.594 GB, free: 2.469 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003366/0.3584, allocations: 1.67 MB / 0.5957 GB, free: 0.7891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009195/0.3676, allocations: 6.886 MB / 0.6024 GB, free: 9.875 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.3676, allocations: 0 / 0.6024 GB, free: 9.875 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3676, allocations: 0 / 0.6024 GB, free: 9.875 MB / 446.1 MB Notification: Performance of Transformations before backend: time 0.000221/0.3678, allocations: 4 kB / 0.6024 GB, free: 9.871 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1535 * Number of variables: 1535 Notification: Performance of Generate backend data structure: time 0.01099/0.3788, allocations: 4.865 MB / 0.6071 GB, free: 4.945 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.3788, allocations: 8.031 kB / 0.6071 GB, free: 4.938 MB / 446.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001381/0.379, allocations: 106.6 kB / 0.6072 GB, free: 4.832 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001529/0.3805, allocations: 0.7319 MB / 0.608 GB, free: 4.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007714/0.3882, allocations: 1.991 MB / 0.6099 GB, free: 2.094 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005688/0.3939, allocations: 2.734 MB / 0.6126 GB, free: 15.3 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002298/0.3941, allocations: 254.3 kB / 0.6128 GB, free: 15.05 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007406/0.3949, allocations: 327.8 kB / 0.6131 GB, free: 14.73 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01809/0.413, allocations: 10.34 MB / 0.6232 GB, free: 3.57 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001321/0.4131, allocations: 47.64 kB / 0.6233 GB, free: 3.523 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005267/0.4136, allocations: 163.8 kB / 0.6234 GB, free: 3.363 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00304/0.4167, allocations: 1.904 MB / 0.6253 GB, free: 1.457 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01694/0.4336, allocations: 8.165 MB / 0.6333 GB, free: 9.27 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0474/0.481, allocations: 37.82 MB / 0.6702 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008271/0.4893, allocations: 2.72 MB / 0.6728 GB, free: 15.49 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001747/0.491, allocations: 0.9634 MB / 0.6738 GB, free: 14.51 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.008272/0.4993, allocations: 4.34 MB / 0.678 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.67e-05/0.4993, allocations: 51.56 kB / 0.6781 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=148): time 5.139e-06/0.4993, allocations: 0 / 0.6781 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of matching and sorting (n=160): time 0.02394/0.5233, allocations: 9.611 MB / 0.6875 GB, free: 424 kB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.5234, allocations: 200.9 kB / 0.6877 GB, free: 180 kB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005902/0.5293, allocations: 4.064 MB / 0.6916 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002122/0.5295, allocations: 45.7 kB / 0.6917 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.002719/0.5323, allocations: 3.31 MB / 0.6949 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007332/0.533, allocations: 0.663 MB / 0.6955 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0017/0.5347, allocations: 1.211 MB / 0.6967 GB, free: 6.801 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.5348, allocations: 305.1 kB / 0.697 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002972/0.5378, allocations: 1.648 MB / 0.6986 GB, free: 4.848 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006655/0.5444, allocations: 5.568 MB / 0.7041 GB, free: 13.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009993/0.5544, allocations: 7.77 MB / 0.7117 GB, free: 3.633 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001556/0.5546, allocations: 40 kB / 0.7117 GB, free: 3.594 MB / 0.545 GB Notification: Performance of matching and sorting (n=791) (initialization): time 0.01402/0.5686, allocations: 6.903 MB / 0.7184 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001282/0.5687, allocations: 67.98 kB / 0.7185 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002431/0.569, allocations: 136 kB / 0.7186 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002054/0.5692, allocations: 184 kB / 0.7188 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004819/0.574, allocations: 1.423 MB / 0.7202 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002536/0.5743, allocations: 270.9 kB / 0.7205 GB, free: 10.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004075/0.5783, allocations: 303.8 kB / 0.7207 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008157/0.5792, allocations: 376 kB / 0.7211 GB, free: 9.953 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 625 * Number of states: 0 () * Number of discrete variables: 39 (prismatic1.boxColor[3],prismatic1.boxColor[2],prismatic1.boxColor[1],prismatic.boxColor[3],prismatic.boxColor[2],prismatic.boxColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],spring.color[3],spring.color[2],spring.color[1],spring.massColor[3],spring.massColor[2],spring.massColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (767): * Single equations (assignments): 764 * Array equations: 3 * 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 0.003613/0.5828, allocations: 2.038 MB / 0.7231 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006848/0.5835, allocations: 369.5 kB / 0.7234 GB, free: 7.535 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009102/0.5844, allocations: 410.7 kB / 0.7238 GB, free: 7.129 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.454e-05/0.5844, allocations: 24 kB / 0.7239 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.119e-05/0.5844, allocations: 3.938 kB / 0.7239 GB, free: 7.102 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.5844, allocations: 7.969 kB / 0.7239 GB, free: 7.094 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01061/0.595, allocations: 5.56 MB / 0.7293 GB, free: 1.246 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.153e-05/0.5951, allocations: 20.19 kB / 0.7293 GB, free: 1.227 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001129/0.5962, allocations: 287.5 kB / 0.7296 GB, free: 0.9453 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-05/0.5962, allocations: 24 kB / 0.7296 GB, free: 0.9219 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001126/0.5963, allocations: 44 kB / 0.7297 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.514e-05/0.5964, allocations: 35.86 kB / 0.7297 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.153e-05/0.5964, allocations: 31.88 kB / 0.7297 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2424/0.8388, allocations: 3.325 MB / 0.733 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008723/0.8397, allocations: 357.3 kB / 0.7333 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005423/0.8402, allocations: 51.62 kB / 0.7334 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001433/0.8417, allocations: 58.36 kB / 0.7334 GB, free: 151.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/0.8419, allocations: 154.2 kB / 0.7336 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.842, allocations: 67.12 kB / 0.7336 GB, free: 151.4 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.004361/0.8464, allocations: 2.516 MB / 0.7361 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3e-07/0.8464, allocations: 0.7812 kB / 0.7361 GB, free: 150.6 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00482/0.8512, allocations: 0.8826 MB / 0.7369 GB, free: 150.5 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 78 * Number of states: 4 (prismatic.s,prismatic.v,prismatic1.s,prismatic1.v) * 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 (145): * Single equations (assignments): 142 * Array equations: 3 * 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.003942/0.8551, allocations: 3.995 MB / 0.7408 GB, free: 148.1 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005017/0.8602, allocations: 3.671 MB / 0.7444 GB, free: 147 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.474e-05/0.8602, allocations: 3.906 kB / 0.7444 GB, free: 147 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0008164/0.861, allocations: 0.7084 MB / 0.7451 GB, free: 146.7 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002744/0.8637, allocations: 477.3 kB / 0.7456 GB, free: 146.5 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04273/0.9065, allocations: 41.75 MB / 0.7864 GB, free: 100.4 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002909/0.9094, allocations: 2.631 MB / 0.7889 GB, free: 97.78 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003376/0.9128, allocations: 1.812 MB / 0.7907 GB, free: 95.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001767/0.9145, allocations: 1.87 MB / 0.7925 GB, free: 94.1 MB / 0.5606 GB Notification: Performance of SimCode: time 1.243e-06/0.9145, allocations: 0 / 0.7925 GB, free: 94.1 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09022/1.005, allocations: 61.21 MB / 0.8523 GB, free: 33.64 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 21.79/22.8, allocations: 4.062 kB / 0.8523 GB, free: 33.64 MB / 0.5606 GB " [Timeout remaining time 637] (rm -f ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring_fmu --startTime=0 --stopTime=3 --stepSize=0.00059976 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_MultiBody_Forces_Spring.fmu > ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/MultiBody/Forces/Spring/Spring.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.Spring.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 26.967303766985424]