Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json 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/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2020,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001206/0.001206, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.313/1.313, allocations: 226.7 MB / 245.5 MB, free: 6.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009664/0.0009664, allocations: 108.4 kB / 296.7 MB, free: 6.457 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008839/0.0008839, allocations: 47.92 kB / 356.6 MB, free: 10.59 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2357, allocations: 50.45 MB / 407 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002331/0.238, allocations: 1.568 MB / 408.6 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.000682/0.2387, allocations: 0.5298 MB / 409.1 MB, free: 25.7 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.318e-05/0.2388, allocations: 0 / 409.1 MB, free: 25.7 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.2389, allocations: 27.91 kB / 409.2 MB, free: 25.67 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 6.323e-05/0.239, allocations: 3.938 kB / 409.2 MB, free: 25.66 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001395/0.2391, allocations: 35.98 kB / 409.2 MB, free: 25.63 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.56e-05/0.2392, allocations: 55.78 kB / 409.3 MB, free: 25.57 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.469e-05/0.2393, allocations: 23.97 kB / 409.3 MB, free: 25.55 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000154/0.2395, allocations: 27.84 kB / 409.3 MB, free: 25.52 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.733e-05/0.2395, allocations: 23.92 kB / 409.3 MB, free: 25.5 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.2396, allocations: 7.938 kB / 409.3 MB, free: 25.49 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.478e-05/0.2396, allocations: 19.98 kB / 409.4 MB, free: 25.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.238e-05/0.2396, allocations: 7.984 kB / 409.4 MB, free: 25.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.997e-05/0.2397, allocations: 27.86 kB / 409.4 MB, free: 25.44 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.2398, allocations: 71.72 kB / 409.5 MB, free: 25.37 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2398, allocations: 0 / 409.5 MB, free: 25.37 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2398, allocations: 0 / 409.5 MB, free: 25.37 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.747e-06/0.2398, allocations: 0 / 409.5 MB, free: 25.37 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0005076/0.2403, allocations: 380.9 kB / 409.8 MB, free: 24.95 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.2404, allocations: 8.031 kB / 409.8 MB, free: 24.94 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.207e-05/0.2404, allocations: 12.84 kB / 409.9 MB, free: 24.93 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.95e-05/0.2405, allocations: 172.3 kB / 410 MB, free: 24.72 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.409e-05/0.2405, allocations: 4.375 kB / 410 MB, free: 24.72 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.2405, allocations: 8.312 kB / 410 MB, free: 24.71 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002337/0.2408, allocations: 85.95 kB / 410.1 MB, free: 24.62 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.877e-06/0.2408, allocations: 0 / 410.1 MB, free: 24.62 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.02e-05/0.2408, allocations: 4 kB / 410.1 MB, free: 24.62 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.998e-06/0.2408, allocations: 0 / 410.1 MB, free: 24.62 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002878/0.2411, allocations: 79.92 kB / 410.2 MB, free: 24.54 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003025/0.2414, allocations: 308.6 kB / 410.5 MB, free: 24.19 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002136/0.2416, allocations: 70.53 kB / 410.6 MB, free: 24.11 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.2418, allocations: 48.95 kB / 410.6 MB, free: 24.06 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.902e-05/0.2418, allocations: 0 / 410.6 MB, free: 24.06 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.582e-05/0.2418, allocations: 38.59 kB / 410.7 MB, free: 24.01 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 8.72e-07/0.2418, allocations: 0 / 410.7 MB, free: 24.01 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005059/0.2423, allocations: 153.5 kB / 410.8 MB, free: 23.86 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.004e-05/0.2424, allocations: 55.34 kB / 410.9 MB, free: 23.79 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.633e-05/0.2424, allocations: 113.8 kB / 411 MB, free: 23.67 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 7.965e-06/0.2425, allocations: 25.7 kB / 411 MB, free: 23.64 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.691e-05/0.2425, allocations: 92.12 kB / 411.1 MB, free: 23.54 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.933e-05/0.2425, allocations: 23.64 kB / 411.1 MB, free: 23.52 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.144e-05/0.2425, allocations: 21.72 kB / 411.1 MB, free: 23.49 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.742e-05/0.2426, allocations: 322.8 kB / 411.4 MB, free: 23.17 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001655/0.2428, allocations: 40.2 kB / 411.5 MB, free: 23.13 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.2429, allocations: 39.91 kB / 411.5 MB, free: 23.09 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.2432, allocations: 84.78 kB / 411.6 MB, free: 23 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2432, allocations: 0 / 411.6 MB, free: 23 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002967/0.2435, allocations: 109.6 kB / 411.7 MB, free: 22.89 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.716e-06/0.2435, allocations: 4 kB / 411.7 MB, free: 22.89 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.377e-06/0.2435, allocations: 3.984 kB / 411.7 MB, free: 22.88 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.2435, allocations: 0 / 411.7 MB, free: 22.88 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.2437, allocations: 23.97 kB / 411.7 MB, free: 22.86 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.2437, allocations: 7.984 kB / 411.8 MB, free: 22.85 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.511e-05/0.2437, allocations: 7.984 kB / 411.8 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.2438, allocations: 4 kB / 411.8 MB, free: 22.84 MB / 298.7 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 5.148e-05/0.2438, allocations: 123.2 kB / 411.9 MB, free: 22.71 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.2438, allocations: 7.906 kB / 411.9 MB, free: 22.7 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003535/0.2442, allocations: 133.6 kB / 412 MB, free: 22.56 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.2442, allocations: 0 / 412 MB, free: 22.56 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2442, allocations: 0 / 412 MB, free: 22.56 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.2442, allocations: 0 / 412 MB, free: 22.56 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001257/0.2444, allocations: 193.5 kB / 412.2 MB, free: 22.32 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2444, allocations: 0 / 412.2 MB, free: 22.32 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.2445, allocations: 19.98 kB / 412.2 MB, free: 22.3 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.585e-06/0.2445, allocations: 4 kB / 412.2 MB, free: 22.3 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.287e-06/0.2445, allocations: 3.938 kB / 412.2 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.2445, allocations: 0 / 412.2 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.2445, allocations: 0 / 412.2 MB, free: 22.29 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005993/0.2451, allocations: 0.8138 MB / 413.1 MB, free: 21.42 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/0.2452, allocations: 89 kB / 413.1 MB, free: 21.32 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.2452, allocations: 7.938 kB / 413.2 MB, free: 21.31 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.2453, allocations: 19.92 kB / 413.2 MB, free: 21.29 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.272e-05/0.2453, allocations: 8.359 kB / 413.2 MB, free: 21.28 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.2453, allocations: 0 / 413.2 MB, free: 21.28 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.019e-05/0.2454, allocations: 91.22 kB / 413.3 MB, free: 21.19 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2454, allocations: 4 kB / 413.3 MB, free: 21.19 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000304/0.2457, allocations: 8 kB / 413.3 MB, free: 21.18 MB / 298.7 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 (7): * Single equations (assignments): 7 * 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.0001141/0.2458, allocations: 103.2 kB / 413.4 MB, free: 21.07 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0003413/0.2462, allocations: 91.86 kB / 413.5 MB, free: 20.98 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.255e-06/0.2462, allocations: 0 / 413.5 MB, free: 20.98 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.2463, allocations: 47.95 kB / 413.5 MB, free: 20.93 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002813/0.2466, allocations: 8 kB / 413.5 MB, free: 20.93 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003521/0.247, allocations: 294.7 kB / 413.8 MB, free: 20.6 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001154/0.2471, allocations: 0.6887 MB / 414.5 MB, free: 19.88 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.498e-05/0.2472, allocations: 4 kB / 414.5 MB, free: 19.88 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.2472, allocations: 11.44 kB / 414.5 MB, free: 19.87 MB / 298.7 MB Notification: Performance of SimCode: time 7.11e-07/0.2472, allocations: 0 / 414.5 MB, free: 19.87 MB / 298.7 MB Notification: Performance of Templates: time 0.002536/0.2497, allocations: 0.7978 MB / 415.3 MB, free: 19.08 MB / 298.7 MB make -j1 -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile (rm -f Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","../files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches