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/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) 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(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/ModelicaServices trunk/package.mo): time 0.001234/0.001234, allocations: 113 kB / 18.45 MB, free: 4.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001366/0.001366, allocations: 212.9 kB / 19.4 MB, free: 3.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 67.88 kB / 359.3 MB, free: 12.97 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2902, allocations: 50.55 MB / 409.9 MB, free: 1.621 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002609/0.2929, allocations: 1.503 MB / 411.4 MB, free: 116 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008872/0.2938, allocations: 0.5336 MB / 411.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.878e-05/0.2938, allocations: 0 / 411.9 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001117/0.294, allocations: 23.84 kB / 412 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.994e-05/0.2941, allocations: 7.938 kB / 412 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001644/0.2942, allocations: 43.84 kB / 412 MB, free: 15.5 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.2943, allocations: 51.84 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.2945, allocations: 19.98 kB / 412.1 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001778/0.2947, allocations: 35.84 kB / 412.1 MB, free: 15.39 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.958e-05/0.2947, allocations: 27.91 kB / 412.1 MB, free: 15.37 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.999e-05/0.2948, allocations: 8 kB / 412.1 MB, free: 15.36 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.018e-05/0.2948, allocations: 15.94 kB / 412.2 MB, free: 15.34 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.736e-05/0.2948, allocations: 15.97 kB / 412.2 MB, free: 15.33 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.65e-05/0.2949, allocations: 27.88 kB / 412.2 MB, free: 15.3 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000155/0.2951, allocations: 71.72 kB / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.139e-06/0.2951, allocations: 0 / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.684e-06/0.2951, allocations: 0 / 412.3 MB, free: 15.23 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.117e-06/0.2951, allocations: 0 / 412.3 MB, free: 15.23 MB / 334.1 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.0006665/0.2958, allocations: 379.1 kB / 412.6 MB, free: 14.82 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.2958, allocations: 11.97 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.2958, allocations: 4.938 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00012/0.296, allocations: 185.5 kB / 412.8 MB, free: 14.58 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/0.296, allocations: 8.375 kB / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.552e-05/0.296, allocations: 384 / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.2963, allocations: 89.89 kB / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.2963, allocations: 0 / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.2963, allocations: 4 kB / 412.9 MB, free: 14.48 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.643e-06/0.2964, allocations: 3.938 kB / 412.9 MB, free: 14.47 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003205/0.2967, allocations: 83.92 kB / 413 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004173/0.2971, allocations: 308.6 kB / 413.3 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.2974, allocations: 70.53 kB / 413.4 MB, free: 13.96 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.2975, allocations: 44.95 kB / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.798e-05/0.2976, allocations: 0 / 413.4 MB, free: 13.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.2976, allocations: 34.55 kB / 413.5 MB, free: 13.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.123e-06/0.2976, allocations: 4 kB / 413.5 MB, free: 13.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005832/0.2982, allocations: 149.8 kB / 413.6 MB, free: 13.71 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/0.2982, allocations: 51.41 kB / 413.7 MB, free: 13.65 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.631e-05/0.2983, allocations: 109.8 kB / 413.8 MB, free: 13.53 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.2983, allocations: 29.69 kB / 413.8 MB, free: 13.5 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.034e-05/0.2984, allocations: 95.98 kB / 413.9 MB, free: 13.4 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.2984, allocations: 19.8 kB / 413.9 MB, free: 13.38 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.092e-05/0.2985, allocations: 18.08 kB / 413.9 MB, free: 13.36 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.2986, allocations: 322.8 kB / 414.3 MB, free: 13.03 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001648/0.2988, allocations: 44.02 kB / 414.3 MB, free: 12.99 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001485/0.2989, allocations: 31.97 kB / 414.3 MB, free: 12.96 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003074/0.2992, allocations: 92.66 kB / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2992, allocations: 0 / 414.4 MB, free: 12.86 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003439/0.2996, allocations: 109.5 kB / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.2996, allocations: 4 kB / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.528e-06/0.2996, allocations: 0 / 414.5 MB, free: 12.75 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2996, allocations: 3.984 kB / 414.5 MB, free: 12.74 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001423/0.2998, allocations: 27.98 kB / 414.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.2998, allocations: 0 / 414.6 MB, free: 12.71 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.627e-05/0.2999, allocations: 11.98 kB / 414.6 MB, free: 12.7 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.083e-06/0.2999, allocations: 0 / 414.6 MB, free: 12.7 MB / 334.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 8.443e-05/0.3, allocations: 121.7 kB / 414.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.058e-05/0.3, allocations: 7.891 kB / 414.7 MB, free: 12.57 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004052/0.3004, allocations: 137.5 kB / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.3005, allocations: 0 / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3005, allocations: 0 / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.486e-06/0.3005, allocations: 0 / 414.8 MB, free: 12.42 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001793/0.3007, allocations: 193.5 kB / 415 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.3007, allocations: 3.938 kB / 415 MB, free: 12.18 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.3008, allocations: 19.98 kB / 415.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.3008, allocations: 0 / 415.1 MB, free: 12.16 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.755e-06/0.3008, allocations: 4 kB / 415.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.3008, allocations: 192 / 415.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3008, allocations: 4 kB / 415.1 MB, free: 12.15 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004059/0.3012, allocations: 231.2 kB / 415.3 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.367e-05/0.3013, allocations: 81.11 kB / 415.4 MB, free: 11.81 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.664e-05/0.3013, allocations: 4 kB / 415.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001135/0.3014, allocations: 11.97 kB / 415.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.3015, allocations: 8 kB / 415.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.102e-06/0.3015, allocations: 4 kB / 415.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.599e-05/0.3015, allocations: 87.27 kB / 415.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3015, allocations: 0 / 415.5 MB, free: 11.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002262/0.3018, allocations: 15.94 kB / 415.5 MB, free: 11.68 MB / 334.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 (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.0001286/0.3019, allocations: 103.2 kB / 415.6 MB, free: 11.57 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003928/0.3023, allocations: 88.12 kB / 415.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3023, allocations: 0 / 415.7 MB, free: 11.48 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001672/0.3025, allocations: 47.97 kB / 415.7 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003202/0.3028, allocations: 25.11 kB / 415.8 MB, free: 11.42 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003636/0.3032, allocations: 195.7 kB / 415.9 MB, free: 11.2 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000244/0.3035, allocations: 0.6846 MB / 416.6 MB, free: 10.48 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.354e-05/0.3035, allocations: 15.42 kB / 416.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of SimCode: time 2.41e-07/0.3035, allocations: 0 / 416.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of Templates: time 0.002255/0.3058, allocations: 0.9568 MB / 417.6 MB, free: 9.512 MB / 334.1 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches