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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001352/0.001352, allocations: 119.1 kB / 20.45 MB, free: 1.176 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001417/0.001417, allocations: 204 kB / 23.72 MB, free: 4.391 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.461/1.461, allocations: 230.5 MB / 257.4 MB, free: 7.738 MB / 206.1 MB " [Timeout remaining time 178] 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: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001909/0.001909, allocations: 59.91 kB / 377.7 MB, free: 2.852 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2943/0.2962, allocations: 53.41 MB / 431.1 MB, free: 6.453 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003263/0.2995, allocations: 1.519 MB / 432.6 MB, free: 4.934 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001052/0.3005, allocations: 0.4986 MB / 433.1 MB, free: 4.43 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.645e-05/0.3006, allocations: 4 kB / 433.1 MB, free: 4.426 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001173/0.3007, allocations: 7.938 kB / 433.1 MB, free: 4.418 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.41e-05/0.3008, allocations: 11.88 kB / 433.1 MB, free: 4.406 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001939/0.301, allocations: 47.89 kB / 433.2 MB, free: 4.359 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001022/0.3011, allocations: 51.84 kB / 433.2 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3012, allocations: 11.98 kB / 433.3 MB, free: 4.297 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001828/0.3014, allocations: 39.84 kB / 433.3 MB, free: 4.258 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.437e-05/0.3015, allocations: 27.84 kB / 433.3 MB, free: 4.23 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.3015, allocations: 8 kB / 433.3 MB, free: 4.223 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.872e-05/0.3015, allocations: 15.94 kB / 433.3 MB, free: 4.207 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.246e-05/0.3016, allocations: 19.92 kB / 433.4 MB, free: 4.188 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.841e-05/0.3016, allocations: 11.94 kB / 433.4 MB, free: 4.176 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001693/0.3017, allocations: 69.41 kB / 433.4 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.3018, allocations: 8 kB / 433.4 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd: time 3.266e-06/0.3018, allocations: 4 kB / 433.5 MB, free: 4.098 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.3018, allocations: 0 / 433.5 MB, free: 4.098 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.0006566/0.3024, allocations: 306.1 kB / 433.8 MB, free: 3.77 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.3025, allocations: 11.98 kB / 433.8 MB, free: 3.758 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.257e-05/0.3025, allocations: 34.73 kB / 433.8 MB, free: 3.715 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.3025, allocations: 8.891 kB / 433.8 MB, free: 3.707 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/0.3027, allocations: 118.5 kB / 433.9 MB, free: 3.566 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.804e-05/0.3027, allocations: 12.31 kB / 433.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.3027, allocations: 384 / 433.9 MB, free: 3.555 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002739/0.303, allocations: 85.77 kB / 434 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.303, allocations: 4 kB / 434 MB, free: 3.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.303, allocations: 4 kB / 434 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.303, allocations: 0 / 434 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003387/0.3033, allocations: 87.84 kB / 434.1 MB, free: 3.371 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005146/0.3038, allocations: 263.8 kB / 434.4 MB, free: 3.07 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002744/0.3041, allocations: 70.55 kB / 434.4 MB, free: 2.992 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.3043, allocations: 44.95 kB / 434.5 MB, free: 2.945 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.351e-05/0.3043, allocations: 4 kB / 434.5 MB, free: 2.941 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.262e-05/0.3043, allocations: 34.56 kB / 434.5 MB, free: 2.898 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.3043, allocations: 4 kB / 434.5 MB, free: 2.895 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006337/0.305, allocations: 153.7 kB / 434.7 MB, free: 2.738 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.305, allocations: 55.34 kB / 434.7 MB, free: 2.672 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.3051, allocations: 113.8 kB / 434.8 MB, free: 2.551 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.957e-05/0.3052, allocations: 25.7 kB / 434.9 MB, free: 2.52 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.911e-05/0.3052, allocations: 100.1 kB / 435 MB, free: 2.418 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.622e-05/0.3052, allocations: 11.91 kB / 435 MB, free: 2.406 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.978e-05/0.3053, allocations: 17.72 kB / 435 MB, free: 2.383 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001766/0.3055, allocations: 322.8 kB / 435.3 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001604/0.3056, allocations: 35.97 kB / 435.3 MB, free: 2.023 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001438/0.3058, allocations: 35.95 kB / 435.4 MB, free: 1.988 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002912/0.3061, allocations: 84.78 kB / 435.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.3061, allocations: 0 / 435.5 MB, free: 1.902 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00034/0.3064, allocations: 121.5 kB / 435.6 MB, free: 1.777 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.3064, allocations: 4 kB / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.3064, allocations: 0 / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.3064, allocations: 0 / 435.6 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001403/0.3066, allocations: 27.97 kB / 435.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.3066, allocations: 0 / 435.6 MB, free: 1.746 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.002e-05/0.3067, allocations: 11.92 kB / 435.6 MB, free: 1.734 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.975e-06/0.3067, allocations: 7.938 kB / 435.6 MB, free: 1.727 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.733e-05/0.3068, allocations: 113.8 kB / 435.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.3068, allocations: 0 / 435.7 MB, free: 1.605 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004256/0.3072, allocations: 145.5 kB / 435.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.387e-06/0.3072, allocations: 0 / 435.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.3072, allocations: 0 / 435.9 MB, free: 1.453 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.3072, allocations: 4 kB / 435.9 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001972/0.3074, allocations: 152.7 kB / 436 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3074, allocations: 0 / 436 MB, free: 1.258 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001158/0.3075, allocations: 19.98 kB / 436.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.3075, allocations: 0 / 436.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.156e-06/0.3075, allocations: 0 / 436.1 MB, free: 1.238 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.3075, allocations: 12.23 kB / 436.1 MB, free: 1.227 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3075, allocations: 4 kB / 436.1 MB, free: 1.223 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004071/0.308, allocations: 215.5 kB / 436.3 MB, free: 0.9961 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.308, allocations: 4 kB / 436.3 MB, free: 0.9922 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.715e-05/0.308, allocations: 7.922 kB / 436.3 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001102/0.3081, allocations: 12.36 kB / 436.3 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.797e-05/0.3081, allocations: 11.98 kB / 436.3 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.709e-06/0.3081, allocations: 4 kB / 436.3 MB, free: 0.957 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.234e-05/0.3082, allocations: 95.16 kB / 436.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3082, allocations: 0 / 436.4 MB, free: 0.8633 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002237/0.3084, allocations: 8 kB / 436.4 MB, free: 0.8555 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.0007537/0.3092, allocations: 0.7554 MB / 437.2 MB, free: 76 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.3096, allocations: 91.84 kB / 437.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3096, allocations: 0 / 437.3 MB, free: 15.98 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001687/0.3097, allocations: 47.95 kB / 437.3 MB, free: 15.94 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.3101, allocations: 15.94 kB / 437.3 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005106/0.3106, allocations: 191.8 kB / 437.5 MB, free: 15.7 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.841e-05/0.3106, allocations: 71.33 kB / 437.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 4.464e-05/0.3107, allocations: 0 / 437.6 MB, free: 15.61 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.95e-05/0.3107, allocations: 23.42 kB / 437.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of SimCode: time 3e-07/0.3107, allocations: 0 / 437.6 MB, free: 15.58 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0285/0.3392, allocations: 2.6 MB / 440.2 MB, free: 13.1 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.9/11.24, allocations: 4 kB / 440.2 MB, free: 13.09 MB / 350.1 MB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 13.973311947192997]