Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.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.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|x|yRegStep|yRegStep_der",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001541/0.001541, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001893/0.001893, allocations: 211.9 kB / 19.25 MB, free: 3.895 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.4 MB, free: 10.56 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2101/0.2101, allocations: 46.11 MB / 344.8 MB, free: 11.58 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001396/0.001397, allocations: 77.12 kB / 418.2 MB, free: 19.74 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.11/0.1114, allocations: 62.44 MB / 480.7 MB, free: 5.281 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegStep): time 0.001601/0.1131, allocations: 494.4 kB / 481.2 MB, free: 4.797 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002983/0.1134, allocations: 110.3 kB / 481.3 MB, free: 4.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.201e-05/0.1134, allocations: 4 kB / 481.3 MB, free: 4.688 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 1.037e-05/0.1135, allocations: 3.938 kB / 481.3 MB, free: 4.684 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000228/0.1137, allocations: 19.92 kB / 481.3 MB, free: 4.664 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.988e-05/0.1137, allocations: 4 kB / 481.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 4.008e-05/0.1138, allocations: 0 / 481.3 MB, free: 4.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.538e-05/0.1138, allocations: 4 kB / 481.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.528e-05/0.1139, allocations: 0 / 481.3 MB, free: 4.656 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.208e-05/0.1139, allocations: 15.86 kB / 481.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.1139, allocations: 0 / 481.3 MB, free: 4.641 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.816e-05/0.114, allocations: 19.98 kB / 481.3 MB, free: 4.621 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 1.076e-05/0.114, allocations: 7.984 kB / 481.4 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.114, allocations: 4 kB / 481.4 MB, free: 4.609 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 7.787e-05/0.1141, allocations: 15.91 kB / 481.4 MB, free: 4.594 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.1141, allocations: 4 kB / 481.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.1141, allocations: 0 / 481.4 MB, free: 4.59 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.13e-06/0.1142, allocations: 4 kB / 481.4 MB, free: 4.586 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003142/0.1145, allocations: 315.6 kB / 481.7 MB, free: 4.227 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.612e-05/0.1145, allocations: 8.031 kB / 481.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.055e-05/0.1146, allocations: 0.9375 kB / 481.7 MB, free: 4.219 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.1147, allocations: 168.4 kB / 481.9 MB, free: 4.016 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1147, allocations: 4.359 kB / 481.9 MB, free: 4.012 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.211e-05/0.1147, allocations: 4.375 kB / 481.9 MB, free: 4.008 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001026/0.1148, allocations: 34.25 kB / 481.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.1148, allocations: 192 / 481.9 MB, free: 3.969 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.1148, allocations: 3.938 kB / 481.9 MB, free: 3.965 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1149, allocations: 7.938 kB / 481.9 MB, free: 3.957 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.266e-05/0.1149, allocations: 4 kB / 481.9 MB, free: 3.953 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001517/0.1151, allocations: 150 kB / 482.1 MB, free: 3.758 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000172/0.1152, allocations: 42.61 kB / 482.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.851e-05/0.1153, allocations: 12.86 kB / 482.1 MB, free: 3.691 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003368/0.1156, allocations: 109.2 kB / 482.2 MB, free: 3.566 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.1157, allocations: 38.55 kB / 482.3 MB, free: 3.52 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.1157, allocations: 7.938 kB / 482.3 MB, free: 3.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.001247/0.1169, allocations: 181.3 kB / 482.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.059e-05/0.117, allocations: 55.41 kB / 482.5 MB, free: 3.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.883e-05/0.117, allocations: 97.8 kB / 482.6 MB, free: 3.156 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.379e-05/0.1171, allocations: 25.7 kB / 482.6 MB, free: 3.125 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.1171, allocations: 80.14 kB / 482.7 MB, free: 3.043 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.1171, allocations: 19.8 kB / 482.7 MB, free: 3.023 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.1172, allocations: 17.7 kB / 482.7 MB, free: 3 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.1173, allocations: 314.8 kB / 483 MB, free: 2.684 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.123e-05/0.1174, allocations: 23.92 kB / 483.1 MB, free: 2.66 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.37e-05/0.1175, allocations: 24.28 kB / 483.1 MB, free: 2.637 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001649/0.1176, allocations: 52.77 kB / 483.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.91e-07/0.1176, allocations: 0 / 483.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001928/0.1178, allocations: 77.58 kB / 483.2 MB, free: 2.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.1179, allocations: 7.938 kB / 483.2 MB, free: 2.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.979e-06/0.1179, allocations: 3.938 kB / 483.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.187e-05/0.1179, allocations: 0 / 483.2 MB, free: 2.488 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.118, allocations: 19.98 kB / 483.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.118, allocations: 0 / 483.3 MB, free: 2.469 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.468e-05/0.1181, allocations: 7.984 kB / 483.3 MB, free: 2.461 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.1181, allocations: 0 / 483.3 MB, free: 2.461 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 7.919e-05/0.1182, allocations: 113.8 kB / 483.4 MB, free: 2.34 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.25e-05/0.1182, allocations: 3.938 kB / 483.4 MB, free: 2.336 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000254/0.1185, allocations: 93.2 kB / 483.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1185, allocations: 0 / 483.5 MB, free: 2.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.1185, allocations: 3.938 kB / 483.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1185, allocations: 0 / 483.5 MB, free: 2.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007061/0.1192, allocations: 355.3 kB / 483.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.1193, allocations: 0 / 483.8 MB, free: 1.832 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.092e-05/0.1193, allocations: 15.92 kB / 483.8 MB, free: 1.816 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1194, allocations: 4.328 kB / 483.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.656e-06/0.1194, allocations: 0 / 483.8 MB, free: 1.812 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.056e-06/0.1194, allocations: 4.125 kB / 483.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1194, allocations: 0 / 483.8 MB, free: 1.809 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002392/0.1196, allocations: 188.3 kB / 484 MB, free: 1.605 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.86e-05/0.1197, allocations: 81.02 kB / 484.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.397e-05/0.1197, allocations: 0 / 484.1 MB, free: 1.508 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000101/0.1198, allocations: 11.98 kB / 484.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.22e-05/0.1198, allocations: 7.938 kB / 484.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.151e-06/0.1198, allocations: 3.984 kB / 484.1 MB, free: 1.484 MB / 350.1 MB Notification: Performance of sorting global known variables: time 3.961e-05/0.1199, allocations: 75.28 kB / 484.2 MB, free: 1.41 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.1199, allocations: 4.094 kB / 484.2 MB, free: 1.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.1201, allocations: 8 kB / 484.2 MB, free: 1.398 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * 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 (5): * Single equations (assignments): 5 * 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.0001326/0.1203, allocations: 107.1 kB / 484.3 MB, free: 1.281 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002156/0.1205, allocations: 51.89 kB / 484.4 MB, free: 1.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1205, allocations: 4 kB / 484.4 MB, free: 1.227 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.913e-05/0.1206, allocations: 23.92 kB / 484.4 MB, free: 1.203 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002172/0.1208, allocations: 10.56 kB / 484.4 MB, free: 1.195 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004609/0.1213, allocations: 159.4 kB / 484.6 MB, free: 1.004 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002413/0.1215, allocations: 0.6768 MB / 485.2 MB, free: 308 kB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.071e-05/0.1216, allocations: 7.438 kB / 485.2 MB, free: 300 kB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1216, allocations: 0 / 485.2 MB, free: 300 kB / 350.1 MB Notification: Performance of Templates: time 0.002081/0.1237, allocations: 0.672 MB / 485.9 MB, free: 15.62 MB / 366.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestUtilities/TestRegStep/TestRegStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestUtilities.TestRegStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches