Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|springDamper.s_rel|springDamper.v_rel|sweptVolume.medium.T|trapezoid.T_start|trapezoid.count",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001304, allocations: 110.4 kB / 17.78 MB, free: 5.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00108/0.00108, allocations: 187.1 kB / 18.71 MB, free: 4.387 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.368/1.368, allocations: 222.9 MB / 242.4 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2089/0.2089, allocations: 44.19 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001217/0.001217, allocations: 67.89 kB / 470.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4008/0.402, allocations: 60.82 MB / 0.5189 GB, free: 3.594 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume): time 0.199/0.6011, allocations: 160.5 MB / 0.6756 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003997/0.6051, allocations: 1.672 MB / 0.6773 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007496/0.6059, allocations: 11.94 kB / 0.6773 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0008684/0.6068, allocations: 210.6 kB / 0.6775 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.003028/0.6099, allocations: 0.7733 MB / 0.6782 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002216/0.6122, allocations: 0.6698 MB / 0.6789 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001804/0.614, allocations: 1.143 MB / 0.68 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006748/0.6147, allocations: 323.8 kB / 0.6803 GB, free: 6.188 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001225/0.6159, allocations: 486.2 kB / 0.6808 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007552/0.6167, allocations: 378.5 kB / 0.6811 GB, free: 5.34 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001759/0.6169, allocations: 44 kB / 0.6812 GB, free: 5.297 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.6186, allocations: 0.5656 MB / 0.6817 GB, free: 4.73 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002669/0.6189, allocations: 159.5 kB / 0.6819 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004583/0.6194, allocations: 270.7 kB / 0.6821 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001979/0.6213, allocations: 0.9622 MB / 0.6831 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.6214, allocations: 0 / 0.6831 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.823e-06/0.6214, allocations: 0 / 0.6831 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.389e-05/0.6214, allocations: 0 / 0.6831 GB, free: 3.344 MB / 0.5294 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.002333/0.6237, allocations: 0.8983 MB / 0.684 GB, free: 2.391 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.6238, allocations: 15.95 kB / 0.684 GB, free: 2.375 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004897/0.6243, allocations: 75.33 kB / 0.684 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008765/0.6252, allocations: 406.3 kB / 0.6844 GB, free: 1.863 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001159/0.6253, allocations: 66.62 kB / 0.6845 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001067/0.6254, allocations: 36 kB / 0.6845 GB, free: 1.754 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001116/0.6266, allocations: 0.5166 MB / 0.685 GB, free: 1.203 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.394e-05/0.6266, allocations: 3.938 kB / 0.685 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.702e-05/0.6267, allocations: 19.98 kB / 0.6851 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.149e-05/0.6267, allocations: 24.64 kB / 0.6851 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000933/0.6276, allocations: 398.2 kB / 0.6855 GB, free: 0.7656 MB / 0.5294 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.003497/0.6311, allocations: 2.502 MB / 0.6879 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008607/0.632, allocations: 339.4 kB / 0.6882 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003751/0.6324, allocations: 169.2 kB / 0.6884 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.485e-05/0.6325, allocations: 4.281 kB / 0.6884 GB, free: 13.57 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00056/0.633, allocations: 268.8 kB / 0.6886 GB, free: 13.28 MB / 0.545 GB Notification: Performance of pre-optimization done (n=34): time 2.365e-06/0.633, allocations: 3.938 kB / 0.6886 GB, free: 13.28 MB / 0.545 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.01232/0.6454, allocations: 3.244 MB / 0.6918 GB, free: 9.898 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.116e-05/0.6455, allocations: 158.2 kB / 0.692 GB, free: 9.707 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005128/0.646, allocations: 393.5 kB / 0.6923 GB, free: 9.312 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 6.308e-05/0.6461, allocations: 33.7 kB / 0.6924 GB, free: 9.273 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.6463, allocations: 256 kB / 0.6926 GB, free: 9.02 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001443/0.6465, allocations: 157.8 kB / 0.6928 GB, free: 8.863 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002171/0.6467, allocations: 122.2 kB / 0.6929 GB, free: 8.738 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.6469, allocations: 358.8 kB / 0.6932 GB, free: 8.379 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006278/0.6475, allocations: 217.2 kB / 0.6934 GB, free: 8.168 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007592/0.6483, allocations: 405.1 kB / 0.6938 GB, free: 7.691 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.6496, allocations: 0.6395 MB / 0.6944 GB, free: 6.98 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.6496, allocations: 0 / 0.6944 GB, free: 6.98 MB / 0.545 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001949/0.6516, allocations: 0.7984 MB / 0.6952 GB, free: 6.164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 4.802e-05/0.6516, allocations: 37.7 kB / 0.6953 GB, free: 6.121 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.6516, allocations: 4 kB / 0.6953 GB, free: 6.117 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004536/0.6521, allocations: 112.8 kB / 0.6954 GB, free: 6.004 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005627/0.6527, allocations: 131.8 kB / 0.6955 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005995/0.6533, allocations: 0.6774 MB / 0.6962 GB, free: 5.172 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006323/0.6539, allocations: 43.95 kB / 0.6962 GB, free: 5.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-05/0.654, allocations: 47.98 kB / 0.6962 GB, free: 5.082 MB / 0.545 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.0004157/0.6544, allocations: 204 kB / 0.6964 GB, free: 4.875 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.6546, allocations: 47.44 kB / 0.6965 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001996/0.6566, allocations: 0.7328 MB / 0.6972 GB, free: 4.078 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/0.6566, allocations: 8 kB / 0.6972 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.6566, allocations: 0 / 0.6972 GB, free: 4.07 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.367e-06/0.6567, allocations: 11.92 kB / 0.6972 GB, free: 4.059 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.6594, allocations: 1.273 MB / 0.6985 GB, free: 2.711 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.6594, allocations: 4 kB / 0.6985 GB, free: 2.707 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004819/0.6599, allocations: 108 kB / 0.6986 GB, free: 2.602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005622/0.6605, allocations: 104.7 kB / 0.6987 GB, free: 2.496 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.648e-05/0.6606, allocations: 19.92 kB / 0.6987 GB, free: 2.477 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001938/0.6625, allocations: 1.821 MB / 0.7005 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.6625, allocations: 4.094 kB / 0.7005 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002335/0.6649, allocations: 0.9824 MB / 0.7014 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003213/0.6652, allocations: 156.5 kB / 0.7016 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001156/0.6653, allocations: 16 kB / 0.7016 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005346/0.6659, allocations: 43.88 kB / 0.7016 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001717/0.6661, allocations: 59.92 kB / 0.7017 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.189e-05/0.6661, allocations: 39.98 kB / 0.7017 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000404/0.6665, allocations: 275.1 kB / 0.702 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6665, allocations: 0 / 0.702 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0009136/0.6675, allocations: 232 kB / 0.7022 GB, free: 14.67 MB / 0.5606 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.0009445/0.6684, allocations: 303.5 kB / 0.7025 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00169/0.6701, allocations: 0.5993 MB / 0.7031 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.6701, allocations: 4 kB / 0.7031 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0009219/0.6711, allocations: 418 kB / 0.7035 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001105/0.6722, allocations: 222.5 kB / 0.7037 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00219/0.6744, allocations: 1.149 MB / 0.7048 GB, free: 11.94 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004846/0.6749, allocations: 0.8592 MB / 0.7057 GB, free: 11.05 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000572/0.6755, allocations: 152.6 kB / 0.7058 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002241/0.6757, allocations: 75.42 kB / 0.7059 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.6757, allocations: 0 / 0.7059 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of Templates: time 0.2995/0.9752, allocations: 13.54 MB / 0.7191 GB, free: 188 MB / 0.5606 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestSweptVolume.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches