Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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.001885/0.001885, allocations: 123.9 kB / 18.45 MB, free: 4.59 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.002189/0.002189, allocations: 201.8 kB / 21.4 MB, free: 1.641 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.549/1.549, allocations: 227.4 MB / 251.6 MB, free: 60 kB / 190.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.2546/0.2546, allocations: 46.16 MB / 351.1 MB, free: 14.27 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: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5014,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003194/0.003194, allocations: 81.64 kB / 490.2 MB, free: 27.86 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1815/0.1847, allocations: 62.45 MB / 0.5397 GB, free: 4.223 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.5405/0.7252, allocations: 163.4 MB / 0.6992 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003405/0.7287, allocations: 1.666 MB / 0.7009 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004708/0.7292, allocations: 11.94 kB / 0.7009 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007287/0.7299, allocations: 208.2 kB / 0.7011 GB, free: 9.645 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002231/0.7322, allocations: 0.7843 MB / 0.7018 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001841/0.7341, allocations: 0.6791 MB / 0.7025 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00158/0.7356, allocations: 1.155 MB / 0.7036 GB, free: 7.754 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005492/0.7362, allocations: 332.8 kB / 0.704 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009287/0.7371, allocations: 466.3 kB / 0.7044 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005518/0.7377, allocations: 382.5 kB / 0.7048 GB, free: 6.594 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.456e-05/0.7378, allocations: 44 kB / 0.7048 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001344/0.7392, allocations: 0.5687 MB / 0.7054 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002065/0.7394, allocations: 159.5 kB / 0.7055 GB, free: 5.828 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003322/0.7397, allocations: 270.7 kB / 0.7058 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001627/0.7414, allocations: 0.9733 MB / 0.7067 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.7414, allocations: 0 / 0.7067 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7414, allocations: 4 kB / 0.7067 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.696e-06/0.7414, allocations: 0 / 0.7067 GB, free: 4.582 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 89 * Number of variables: 89 Notification: Performance of Generate backend data structure: time 0.001874/0.7433, allocations: 0.9247 MB / 0.7076 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.416e-05/0.7433, allocations: 13.11 kB / 0.7076 GB, free: 3.59 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003937/0.7437, allocations: 75.61 kB / 0.7077 GB, free: 3.516 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006487/0.7444, allocations: 406.7 kB / 0.7081 GB, free: 3.074 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.211e-05/0.7445, allocations: 62.64 kB / 0.7082 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.308e-05/0.7446, allocations: 47.88 kB / 0.7082 GB, free: 2.961 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009926/0.7456, allocations: 0.5205 MB / 0.7087 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.7456, allocations: 4 kB / 0.7087 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.503e-05/0.7457, allocations: 16 kB / 0.7087 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.553e-05/0.7457, allocations: 17.09 kB / 0.7088 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009484/0.7467, allocations: 414.1 kB / 0.7091 GB, free: 1.957 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003337/0.75, allocations: 2.459 MB / 0.7115 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008417/0.7509, allocations: 341.6 kB / 0.7119 GB, free: 14.98 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000394/0.7513, allocations: 165.3 kB / 0.712 GB, free: 14.82 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 4.29e-05/0.7513, allocations: 12.22 kB / 0.712 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005835/0.7519, allocations: 268.7 kB / 0.7123 GB, free: 14.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=34): time 1.804e-06/0.7519, allocations: 0 / 0.7123 GB, free: 14.52 MB / 0.5137 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: sweptVolume.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=46): time 0.01264/0.7646, allocations: 3.252 MB / 0.7155 GB, free: 11.14 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.7647, allocations: 166.1 kB / 0.7156 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005095/0.7653, allocations: 385.6 kB / 0.716 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 5.803e-05/0.7653, allocations: 37.7 kB / 0.716 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002308/0.7656, allocations: 256.5 kB / 0.7163 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001726/0.7657, allocations: 170.5 kB / 0.7164 GB, free: 10.1 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002099/0.766, allocations: 126.3 kB / 0.7166 GB, free: 9.969 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.7662, allocations: 358.8 kB / 0.7169 GB, free: 9.609 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006193/0.7668, allocations: 217.1 kB / 0.7171 GB, free: 9.398 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007731/0.7676, allocations: 413.1 kB / 0.7175 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001387/0.769, allocations: 0.6355 MB / 0.7181 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.835e-06/0.769, allocations: 0 / 0.7181 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002009/0.771, allocations: 0.7983 MB / 0.7189 GB, free: 7.391 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.357e-05/0.771, allocations: 34.36 kB / 0.7189 GB, free: 7.352 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.029e-05/0.7711, allocations: 4 kB / 0.7189 GB, free: 7.348 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004522/0.7715, allocations: 124.8 kB / 0.7191 GB, free: 7.223 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005464/0.7721, allocations: 131.8 kB / 0.7192 GB, free: 7.094 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006897/0.7728, allocations: 0.6694 MB / 0.7198 GB, free: 6.398 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004986/0.7733, allocations: 56 kB / 0.7199 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.369e-05/0.7734, allocations: 44 kB / 0.7199 GB, free: 6.301 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 7 (trapezoid.count,$PRE.trapezoid.count,trapezoid.T_start,$PRE.trapezoid.T_start,$whenCondition1,sweptVolume.regularFlow[1],sweptVolume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.000324/0.7737, allocations: 193.7 kB / 0.7201 GB, free: 6.102 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.869e-05/0.7738, allocations: 51.67 kB / 0.7202 GB, free: 6.051 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00201/0.7758, allocations: 0.7465 MB / 0.7209 GB, free: 5.293 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.7758, allocations: 7.938 kB / 0.7209 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.7759, allocations: 0 / 0.7209 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.7759, allocations: 0 / 0.7209 GB, free: 5.285 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002694/0.7786, allocations: 1.277 MB / 0.7222 GB, free: 3.934 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.102e-06/0.7786, allocations: 4 kB / 0.7222 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004727/0.7791, allocations: 107.8 kB / 0.7223 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005626/0.7796, allocations: 108.8 kB / 0.7224 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.7797, allocations: 19.94 kB / 0.7224 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002064/0.7818, allocations: 1.826 MB / 0.7242 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.7818, allocations: 4.031 kB / 0.7242 GB, free: 1.727 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.7842, allocations: 0.9722 MB / 0.7251 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002962/0.7845, allocations: 156.8 kB / 0.7253 GB, free: 0.5469 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.624e-05/0.7846, allocations: 16 kB / 0.7253 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.7851, allocations: 47.94 kB / 0.7253 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.7853, allocations: 59.86 kB / 0.7254 GB, free: 436 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.418e-05/0.7854, allocations: 35.98 kB / 0.7254 GB, free: 400 kB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003806/0.7857, allocations: 271.2 kB / 0.7257 GB, free: 136 kB / 0.5137 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7858, allocations: 0 / 0.7257 GB, free: 136 kB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0009294/0.7867, allocations: 243.8 kB / 0.7259 GB, free: 15.89 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 (sweptVolume.medium.T,springDamper.s_rel,springDamper.v_rel) * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008851/0.7876, allocations: 298 kB / 0.7262 GB, free: 15.6 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001663/0.7893, allocations: 0.6059 MB / 0.7268 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.7893, allocations: 5.062 kB / 0.7268 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009632/0.7902, allocations: 414.6 kB / 0.7272 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001138/0.7914, allocations: 222.4 kB / 0.7274 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.7936, allocations: 1.157 MB / 0.7285 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/0.7941, allocations: 0.8553 MB / 0.7294 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0005499/0.7947, allocations: 160.6 kB / 0.7295 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.7949, allocations: 67.42 kB / 0.7296 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of SimCode: time 1.373e-06/0.7949, allocations: 0 / 0.7296 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of Templates: time 0.02512/0.8201, allocations: 13.4 MB / 0.7427 GB, free: 14.71 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestSweptVolume/TestSweptVolume.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.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: 6.277138031087816]