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.001587/0.001587, allocations: 117.6 kB / 17.78 MB, free: 5.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001952/0.001953, allocations: 204.7 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.502/1.502, allocations: 227.4 MB / 246.9 MB, free: 10.45 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001823/0.001823, allocations: 59.91 kB / 358.7 MB, free: 12.96 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3148/0.3166, allocations: 50.54 MB / 409.2 MB, free: 1.754 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002772/0.3194, allocations: 1.522 MB / 410.7 MB, free: 240 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009034/0.3204, allocations: 0.5336 MB / 411.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.876e-05/0.3204, allocations: 0 / 411.3 MB, free: 15.7 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001263/0.3206, allocations: 23.86 kB / 411.3 MB, free: 15.67 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.8e-05/0.3207, allocations: 7.875 kB / 411.3 MB, free: 15.66 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001793/0.3209, allocations: 39.89 kB / 411.3 MB, free: 15.62 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.209e-05/0.321, allocations: 55.84 kB / 411.4 MB, free: 15.57 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001085/0.3211, allocations: 19.98 kB / 411.4 MB, free: 15.55 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.3213, allocations: 35.84 kB / 411.4 MB, free: 15.52 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.406e-05/0.3213, allocations: 27.91 kB / 411.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.3214, allocations: 8 kB / 411.5 MB, free: 15.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.688e-05/0.3214, allocations: 19.94 kB / 411.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.3215, allocations: 11.98 kB / 411.5 MB, free: 15.45 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.305e-05/0.3215, allocations: 23.88 kB / 411.5 MB, free: 15.43 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001587/0.3217, allocations: 71.66 kB / 411.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.3217, allocations: 0 / 411.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3217, allocations: 0 / 411.6 MB, free: 15.36 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.103e-06/0.3217, allocations: 0 / 411.6 MB, free: 15.36 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.0006316/0.3223, allocations: 387.2 kB / 412 MB, free: 14.93 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/0.3224, allocations: 15.97 kB / 412 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.431e-05/0.3224, allocations: 4.891 kB / 412 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001244/0.3225, allocations: 168.3 kB / 412.2 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.3226, allocations: 8.375 kB / 412.2 MB, free: 14.7 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.766e-05/0.3226, allocations: 8.359 kB / 412.2 MB, free: 14.69 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002595/0.3229, allocations: 89.89 kB / 412.3 MB, free: 14.6 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.3229, allocations: 4 kB / 412.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.257e-05/0.3229, allocations: 4 kB / 412.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.3229, allocations: 3.938 kB / 412.3 MB, free: 14.59 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000297/0.3232, allocations: 79.91 kB / 412.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.3236, allocations: 312.7 kB / 412.7 MB, free: 14.15 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.3238, allocations: 74.53 kB / 412.7 MB, free: 14.07 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001552/0.324, allocations: 44.94 kB / 412.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.324, allocations: 0 / 412.8 MB, free: 14.02 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.282e-05/0.3241, allocations: 34.56 kB / 412.8 MB, free: 13.98 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 2.595e-06/0.3241, allocations: 4.094 kB / 412.8 MB, free: 13.97 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005221/0.3246, allocations: 149.5 kB / 413 MB, free: 13.82 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.3246, allocations: 55.41 kB / 413 MB, free: 13.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.596e-05/0.3247, allocations: 109.8 kB / 413.1 MB, free: 13.64 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.436e-05/0.3248, allocations: 29.7 kB / 413.1 MB, free: 13.6 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.3248, allocations: 96.03 kB / 413.2 MB, free: 13.5 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.262e-05/0.3248, allocations: 15.89 kB / 413.3 MB, free: 13.49 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.733e-05/0.3249, allocations: 18.09 kB / 413.3 MB, free: 13.46 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 8.776e-05/0.325, allocations: 318.8 kB / 413.6 MB, free: 13.14 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.3251, allocations: 35.95 kB / 413.6 MB, free: 13.11 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001376/0.3253, allocations: 39.97 kB / 413.7 MB, free: 13.07 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000268/0.3255, allocations: 84.66 kB / 413.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.3256, allocations: 0 / 413.7 MB, free: 12.98 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003196/0.3259, allocations: 121.6 kB / 413.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/0.3259, allocations: 4 kB / 413.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.3259, allocations: 0 / 413.9 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.3259, allocations: 4 kB / 413.9 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001274/0.3261, allocations: 15.98 kB / 413.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.3261, allocations: 0 / 413.9 MB, free: 12.84 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.845e-05/0.3262, allocations: 12.42 kB / 413.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.826e-06/0.3262, allocations: 3.984 kB / 413.9 MB, free: 12.82 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 6.901e-05/0.3262, allocations: 129.7 kB / 414 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/0.3263, allocations: 0 / 414 MB, free: 12.68 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003726/0.3267, allocations: 129.5 kB / 414.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.3267, allocations: 4 kB / 414.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.3267, allocations: 0 / 414.2 MB, free: 12.54 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.504e-06/0.3267, allocations: 7.984 kB / 414.2 MB, free: 12.53 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001695/0.3269, allocations: 197.5 kB / 414.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3269, allocations: 3.938 kB / 414.4 MB, free: 12.29 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001106/0.327, allocations: 19.98 kB / 414.4 MB, free: 12.27 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.327, allocations: 3.984 kB / 414.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.356e-06/0.327, allocations: 0 / 414.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.488e-06/0.327, allocations: 4 kB / 414.4 MB, free: 12.26 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.327, allocations: 3.938 kB / 414.4 MB, free: 12.25 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003734/0.3274, allocations: 215.4 kB / 414.6 MB, free: 12.03 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.793e-05/0.3275, allocations: 85.09 kB / 414.7 MB, free: 11.93 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.3275, allocations: 4 kB / 414.7 MB, free: 11.92 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.3276, allocations: 11.98 kB / 414.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.55e-05/0.3276, allocations: 3.984 kB / 414.7 MB, free: 11.91 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-06/0.3277, allocations: 8 kB / 414.7 MB, free: 11.9 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.184e-05/0.3277, allocations: 83.28 kB / 414.8 MB, free: 11.82 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3277, allocations: 4 kB / 414.8 MB, free: 11.81 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002226/0.3279, allocations: 15.94 kB / 414.8 MB, free: 11.8 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.0001342/0.3281, allocations: 103.2 kB / 414.9 MB, free: 11.69 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003642/0.3284, allocations: 92.34 kB / 415 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3285, allocations: 0 / 415 MB, free: 11.6 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001611/0.3286, allocations: 51.94 kB / 415.1 MB, free: 11.55 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/0.329, allocations: 7.938 kB / 415.1 MB, free: 11.54 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003449/0.3293, allocations: 169.9 kB / 415.2 MB, free: 11.35 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.3295, allocations: 0.6924 MB / 415.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 3.145e-05/0.3296, allocations: 0 / 415.9 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.582e-05/0.3296, allocations: 11.44 kB / 415.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3296, allocations: 0 / 415.9 MB, free: 10.62 MB / 334.1 MB Notification: Performance of Templates: time 0.003125/0.3328, allocations: 0.9269 MB / 416.9 MB, free: 9.703 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches