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.001541/0.001541, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.569/1.569, allocations: 225.6 MB / 234.8 MB, free: 3.262 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001078/0.001078, allocations: 91.66 kB / 286.7 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.349e-05/2.353e-05, allocations: 0 / 343.7 MB, free: 8.301 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1006/0.1007, allocations: 51.47 MB / 395.1 MB, free: 4.785 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.305/0.4057, allocations: 76.73 MB / 471.9 MB, free: 14.59 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000175/0.406, allocations: 66.2 kB / 471.9 MB, free: 14.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003483/0.4095, allocations: 1.401 MB / 473.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4095, allocations: 0 / 473.3 MB, free: 13.66 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.531e-06/0.4095, allocations: 4 kB / 473.3 MB, free: 13.66 MB / 346.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.0003892/0.4099, allocations: 375.2 kB / 473.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.478e-05/0.4099, allocations: 12.03 kB / 473.7 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.187e-05/0.41, allocations: 0.625 kB / 473.7 MB, free: 13.26 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.196e-05/0.4101, allocations: 183.7 kB / 473.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.4101, allocations: 4.859 kB / 473.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.322e-05/0.4101, allocations: 1.266 kB / 473.9 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.235e-05/0.4102, allocations: 30.88 kB / 473.9 MB, free: 13.02 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.426e-05/0.4103, allocations: 53.42 kB / 474 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.4103, allocations: 0 / 474 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.083e-05/0.4103, allocations: 0 / 474 MB, free: 12.98 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.4103, allocations: 5.625 kB / 474 MB, free: 12.97 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.4106, allocations: 286 kB / 474.3 MB, free: 12.7 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.299e-05/0.4107, allocations: 49.98 kB / 474.3 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.362e-05/0.4108, allocations: 20.19 kB / 474.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.4108, allocations: 0 / 474.3 MB, free: 12.64 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.664e-05/0.4108, allocations: 39.06 kB / 474.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 7.72e-07/0.4108, allocations: 0 / 474.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000154/0.411, allocations: 67 kB / 474.4 MB, free: 12.54 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.643e-05/0.411, allocations: 51.41 kB / 474.5 MB, free: 12.48 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.121e-05/0.4111, allocations: 100.2 kB / 474.6 MB, free: 12.38 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.706e-06/0.4111, allocations: 25.7 kB / 474.6 MB, free: 12.35 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.914e-05/0.4111, allocations: 93.84 kB / 474.7 MB, free: 12.26 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.4112, allocations: 16.92 kB / 474.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-06/0.4112, allocations: 3.172 kB / 474.7 MB, free: 12.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 4.369e-05/0.4112, allocations: 319.5 kB / 475 MB, free: 11.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.576e-05/0.4112, allocations: 12.05 kB / 475.1 MB, free: 11.92 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.101e-05/0.4113, allocations: 14.38 kB / 475.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.735e-05/0.4113, allocations: 16.03 kB / 475.1 MB, free: 11.91 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.4113, allocations: 3.953 kB / 475.1 MB, free: 11.9 MB / 346.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.559e-05/0.4114, allocations: 68.89 kB / 475.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.137e-05/0.4114, allocations: 4.75 kB / 475.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.4114, allocations: 4 kB / 475.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.4114, allocations: 0 / 475.2 MB, free: 11.84 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001443/0.4116, allocations: 25.81 kB / 475.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.4116, allocations: 3.328 kB / 475.2 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.994e-05/0.4117, allocations: 17.02 kB / 475.2 MB, free: 11.8 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-06/0.4117, allocations: 7.438 kB / 475.2 MB, free: 11.8 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.29e-05/0.4118, allocations: 101.8 kB / 475.3 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.393e-05/0.4118, allocations: 3.953 kB / 475.3 MB, free: 11.69 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001309/0.4119, allocations: 79.36 kB / 475.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.4119, allocations: 4 kB / 475.4 MB, free: 11.63 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.412, allocations: 3.938 kB / 475.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.412, allocations: 1.266 kB / 475.4 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.4121, allocations: 168 kB / 475.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4121, allocations: 0 / 475.6 MB, free: 11.45 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001224/0.4122, allocations: 26.28 kB / 475.6 MB, free: 11.43 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.4122, allocations: 7.953 kB / 475.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.4122, allocations: 0 / 475.6 MB, free: 11.42 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.215e-06/0.4123, allocations: 4.562 kB / 475.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.4123, allocations: 0 / 475.6 MB, free: 11.41 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001081/0.4124, allocations: 159.5 kB / 475.8 MB, free: 11.26 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.929e-05/0.4124, allocations: 85.62 kB / 475.8 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.652e-05/0.4124, allocations: 5.359 kB / 475.9 MB, free: 11.16 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.4125, allocations: 20.12 kB / 475.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.263e-05/0.4126, allocations: 10.56 kB / 475.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.4126, allocations: 0.7031 kB / 475.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of sorting global known variables: time 2.507e-05/0.4126, allocations: 94.06 kB / 476 MB, free: 11.05 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.71e-07/0.4126, allocations: 0 / 476 MB, free: 11.05 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0002039/0.4128, allocations: 12.59 kB / 476 MB, free: 11.04 MB / 346.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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.748e-05/0.4129, allocations: 104.8 kB / 476.1 MB, free: 10.93 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 9.941e-05/0.413, allocations: 46.31 kB / 476.1 MB, free: 10.9 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.4131, allocations: 0 / 476.1 MB, free: 10.9 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 3.739e-05/0.4131, allocations: 24.22 kB / 476.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001607/0.4133, allocations: 4.75 kB / 476.2 MB, free: 10.88 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002153/0.4135, allocations: 90.05 kB / 476.3 MB, free: 10.78 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001379/0.4136, allocations: 0.6933 MB / 476.9 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 3.394e-05/0.4137, allocations: 5.406 kB / 477 MB, free: 10.07 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.4137, allocations: 14.88 kB / 477 MB, free: 10.05 MB / 346.7 MB Notification: Performance of SimCode: time 4.81e-07/0.4137, allocations: 0 / 477 MB, free: 10.05 MB / 346.7 MB Notification: Performance of Templates: time 0.002517/0.4162, allocations: 0.6604 MB / 477.6 MB, free: 9.695 MB / 346.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/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