Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") translateModel(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10000,variableFilter="time|x|y|yd|k1|k2",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001218/0.001218, allocations: 111.4 kB / 17.04 MB, free: 5.812 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.001306/0.001306, allocations: 195 kB / 17.98 MB, free: 5.027 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.386/1.386, allocations: 205.1 MB / 223.8 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2057/0.2057, allocations: 43.52 MB / 314.7 MB, free: 484 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001499/0.001499, allocations: 63.89 kB / 384.2 MB, free: 56.41 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08356/0.08507, allocations: 57.79 MB / 442 MB, free: 6.168 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative): time 0.001695/0.08682, allocations: 0.495 MB / 442.5 MB, free: 5.672 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002486/0.08709, allocations: 91.72 kB / 442.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.757e-05/0.08712, allocations: 0 / 442.6 MB, free: 5.582 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 1.26e-05/0.08714, allocations: 3.938 kB / 442.6 MB, free: 5.578 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 2.077e-05/0.08717, allocations: 3.938 kB / 442.6 MB, free: 5.574 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001676/0.08734, allocations: 23.91 kB / 442.6 MB, free: 5.551 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 5.424e-05/0.0874, allocations: 8 kB / 442.6 MB, free: 5.543 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.304e-05/0.08745, allocations: 3.984 kB / 442.6 MB, free: 5.539 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.117e-05/0.08748, allocations: 11.98 kB / 442.6 MB, free: 5.527 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.59e-05/0.08753, allocations: 7.938 kB / 442.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.271e-05/0.08755, allocations: 0 / 442.6 MB, free: 5.52 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.367e-05/0.08762, allocations: 39.95 kB / 442.7 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.006e-05/0.08764, allocations: 0 / 442.7 MB, free: 5.48 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.026e-05/0.08766, allocations: 7.938 kB / 442.7 MB, free: 5.473 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 8.276e-05/0.08775, allocations: 23.95 kB / 442.7 MB, free: 5.449 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.08776, allocations: 4 kB / 442.7 MB, free: 5.445 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.08777, allocations: 4 kB / 442.7 MB, free: 5.441 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.08778, allocations: 0 / 442.7 MB, free: 5.441 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002966/0.08808, allocations: 327.4 kB / 443 MB, free: 5.07 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.08812, allocations: 15.89 kB / 443 MB, free: 5.055 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.531e-05/0.08815, allocations: 4.875 kB / 443 MB, free: 5.051 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.84e-05/0.08822, allocations: 164.4 kB / 443.2 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.253e-06/0.08823, allocations: 384 / 443.2 MB, free: 4.852 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.08825, allocations: 4.375 kB / 443.2 MB, free: 4.848 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.593e-05/0.08835, allocations: 63.84 kB / 443.3 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.08837, allocations: 192 / 443.3 MB, free: 4.773 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.08838, allocations: 3.938 kB / 443.3 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.08839, allocations: 0 / 443.3 MB, free: 4.77 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.832e-05/0.08843, allocations: 15.98 kB / 443.3 MB, free: 4.754 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002169/0.08865, allocations: 325.1 kB / 443.6 MB, free: 4.383 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.245e-05/0.0887, allocations: 31.11 kB / 443.6 MB, free: 4.344 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.257e-05/0.08874, allocations: 16.86 kB / 443.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.08876, allocations: 0 / 443.6 MB, free: 4.324 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.16e-05/0.08878, allocations: 30.56 kB / 443.7 MB, free: 4.285 MB / 318.1 MB Notification: Performance of pre-optimization done (n=4): time 1.934e-06/0.08879, allocations: 3.984 kB / 443.7 MB, free: 4.281 MB / 318.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001513/0.08894, allocations: 61.62 kB / 443.7 MB, free: 4.215 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.039e-05/0.08897, allocations: 51.41 kB / 443.8 MB, free: 4.152 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.393e-05/0.08903, allocations: 105.8 kB / 443.9 MB, free: 4.039 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 6.943e-06/0.08904, allocations: 25.7 kB / 443.9 MB, free: 4.008 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.302e-05/0.08907, allocations: 80.14 kB / 444 MB, free: 3.926 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.181e-05/0.08909, allocations: 15.75 kB / 444 MB, free: 3.91 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.08912, allocations: 17.72 kB / 444 MB, free: 3.887 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.249e-05/0.08918, allocations: 314.8 kB / 444.3 MB, free: 3.57 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.113e-05/0.0892, allocations: 8 kB / 444.3 MB, free: 3.562 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.006e-05/0.08923, allocations: 21.84 kB / 444.4 MB, free: 3.535 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.248e-05/0.08927, allocations: 33.64 kB / 444.4 MB, free: 3.496 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.08928, allocations: 0 / 444.4 MB, free: 3.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.218e-05/0.08936, allocations: 57.62 kB / 444.5 MB, free: 3.434 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.08938, allocations: 8 kB / 444.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.08939, allocations: 0 / 444.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.08941, allocations: 0 / 444.5 MB, free: 3.426 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.509e-05/0.08948, allocations: 11.94 kB / 444.5 MB, free: 3.414 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.08949, allocations: 4.031 kB / 444.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.998e-05/0.08951, allocations: 0 / 444.5 MB, free: 3.41 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.08953, allocations: 4 kB / 444.5 MB, free: 3.406 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * 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 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 4.28e-05/0.08957, allocations: 117.7 kB / 444.6 MB, free: 3.281 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/0.0896, allocations: 7.891 kB / 444.6 MB, free: 3.273 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000101/0.08971, allocations: 61.19 kB / 444.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.08972, allocations: 0 / 444.7 MB, free: 3.203 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.08973, allocations: 3.938 kB / 444.7 MB, free: 3.199 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.08973, allocations: 8 kB / 444.7 MB, free: 3.191 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.08984, allocations: 157.6 kB / 444.8 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.08985, allocations: 3.938 kB / 444.8 MB, free: 2.984 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.671e-05/0.08989, allocations: 11.94 kB / 444.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.0899, allocations: 0 / 444.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.151e-06/0.08991, allocations: 0 / 444.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.212e-06/0.08992, allocations: 192 / 444.8 MB, free: 2.973 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.08992, allocations: 4 kB / 444.8 MB, free: 2.969 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.362e-05/0.09001, allocations: 155.5 kB / 445 MB, free: 2.801 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.674e-05/0.09003, allocations: 85.09 kB / 445.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.013e-05/0.09005, allocations: 0 / 445.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.838e-05/0.0901, allocations: 0 / 445.1 MB, free: 2.699 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.277e-05/0.09014, allocations: 8 kB / 445.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-06/0.09015, allocations: 0 / 445.1 MB, free: 2.691 MB / 318.1 MB Notification: Performance of sorting global known variables: time 1.625e-05/0.09017, allocations: 75.28 kB / 445.2 MB, free: 2.617 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.09017, allocations: 4 kB / 445.2 MB, free: 2.613 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002183/0.0904, allocations: 8 kB / 445.2 MB, free: 2.605 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 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 9.826e-05/0.0905, allocations: 107.3 kB / 445.3 MB, free: 2.492 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.09062, allocations: 24 kB / 445.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.09063, allocations: 0 / 445.3 MB, free: 2.469 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 2.683e-05/0.09066, allocations: 19.92 kB / 445.3 MB, free: 2.449 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.09087, allocations: 7.938 kB / 445.3 MB, free: 2.441 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001875/0.09107, allocations: 101 kB / 445.4 MB, free: 2.316 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.587e-05/0.09117, allocations: 0.6807 MB / 446.1 MB, free: 1.609 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.855e-05/0.09121, allocations: 4.062 kB / 446.1 MB, free: 1.605 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.09123, allocations: 11.44 kB / 446.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of SimCode: time 2.7e-07/0.09123, allocations: 0 / 446.1 MB, free: 1.594 MB / 318.1 MB Notification: Performance of Templates: time 0.002127/0.09337, allocations: 463 kB / 446.6 MB, free: 1.145 MB / 318.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestUtilities/TestRegRootDerivative/TestRegRootDerivative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestUtilities.TestRegRootDerivative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches