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.0008771/0.0008771, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0008236/0.0008236, allocations: 156.9 kB / 23.94 MB, free: 0.6133 MB / 18.57 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 0.8988/0.8988, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.633e-06/1.633e-06, allocations: 0 / 324.5 MB, free: 15.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.002e-05/2.165e-05, allocations: 9.031 kB / 324.5 MB, free: 15.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001901/0.001923, allocations: 1.516 MB / 326 MB, free: 14.4 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006633/0.002586, allocations: 0.4908 MB / 326.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.907e-05/0.002625, allocations: 0 / 326.5 MB, free: 13.9 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.002725, allocations: 31.8 kB / 326.5 MB, free: 13.87 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 5.811e-05/0.002784, allocations: 7.875 kB / 326.5 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.002928, allocations: 43.83 kB / 326.6 MB, free: 13.82 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 8.145e-05/0.00301, allocations: 59.84 kB / 326.6 MB, free: 13.76 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.693e-05/0.003097, allocations: 11.98 kB / 326.6 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000166/0.003263, allocations: 39.91 kB / 326.7 MB, free: 13.71 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.812e-05/0.003311, allocations: 23.91 kB / 326.7 MB, free: 13.69 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.355e-05/0.003324, allocations: 4 kB / 326.7 MB, free: 13.68 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.443e-05/0.003369, allocations: 16 kB / 326.7 MB, free: 13.67 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.35e-05/0.003382, allocations: 15.97 kB / 326.7 MB, free: 13.65 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.115e-05/0.003403, allocations: 19.92 kB / 326.8 MB, free: 13.63 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001231/0.003527, allocations: 75.72 kB / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.784e-06/0.003528, allocations: 0 / 326.8 MB, free: 13.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 9.91e-07/0.003529, allocations: 4 kB / 326.8 MB, free: 13.55 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.357e-06/0.003533, allocations: 0 / 326.8 MB, free: 13.55 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.0004121/0.003945, allocations: 310.1 kB / 327.1 MB, free: 13.22 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.003979, allocations: 11.98 kB / 327.1 MB, free: 13.21 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.996e-05/0.004009, allocations: 42.73 kB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.989e-05/0.004029, allocations: 4.891 kB / 327.2 MB, free: 13.16 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.272e-05/0.004101, allocations: 113.7 kB / 327.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.19e-05/0.004113, allocations: 4.375 kB / 327.3 MB, free: 13.02 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.004124, allocations: 12.38 kB / 327.3 MB, free: 13 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.004285, allocations: 86.14 kB / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.523e-06/0.004292, allocations: 192 / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.004302, allocations: 4.125 kB / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.004306, allocations: 0 / 327.4 MB, free: 12.91 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.004462, allocations: 83.84 kB / 327.5 MB, free: 12.83 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002998/0.004762, allocations: 271.8 kB / 327.8 MB, free: 12.52 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001437/0.004906, allocations: 70.53 kB / 327.8 MB, free: 12.44 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.476e-05/0.004981, allocations: 40.89 kB / 327.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.004994, allocations: 0 / 327.9 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.637e-05/0.00501, allocations: 34.66 kB / 327.9 MB, free: 12.36 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 7.11e-07/0.005011, allocations: 3.938 kB / 327.9 MB, free: 12.35 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003044/0.005315, allocations: 153.5 kB / 328 MB, free: 12.2 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.618e-05/0.005341, allocations: 51.41 kB / 328.1 MB, free: 12.13 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.471e-05/0.005396, allocations: 109.8 kB / 328.2 MB, free: 12.02 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.016e-05/0.005406, allocations: 25.7 kB / 328.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.894e-05/0.005445, allocations: 96.08 kB / 328.3 MB, free: 11.89 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.105e-05/0.005466, allocations: 19.84 kB / 328.3 MB, free: 11.87 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.005494, allocations: 21.72 kB / 328.4 MB, free: 11.84 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 6.831e-05/0.005562, allocations: 318.8 kB / 328.7 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.08e-05/0.005633, allocations: 36.22 kB / 328.7 MB, free: 11.48 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.679e-05/0.0057, allocations: 39.95 kB / 328.8 MB, free: 11.45 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001364/0.005836, allocations: 88.72 kB / 328.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.005837, allocations: 0 / 328.8 MB, free: 11.36 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001586/0.005996, allocations: 113.6 kB / 328.9 MB, free: 11.24 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.037e-05/0.006006, allocations: 4 kB / 329 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.496e-06/0.006015, allocations: 4 kB / 329 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/0.006026, allocations: 0 / 329 MB, free: 11.23 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.04e-05/0.006096, allocations: 23.97 kB / 329 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.987e-06/0.0061, allocations: 0 / 329 MB, free: 11.21 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.981e-05/0.00614, allocations: 11.98 kB / 329 MB, free: 11.2 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.006146, allocations: 0 / 329 MB, free: 11.2 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 6.632e-05/0.006212, allocations: 121.7 kB / 329.1 MB, free: 11.07 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.216e-05/0.006234, allocations: 4 kB / 329.1 MB, free: 11.06 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002425/0.006477, allocations: 133.7 kB / 329.2 MB, free: 10.93 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.006481, allocations: 4 kB / 329.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.607e-06/0.006485, allocations: 384 / 329.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.006487, allocations: 0 / 329.2 MB, free: 10.92 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001516/0.006639, allocations: 156.7 kB / 329.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.00664, allocations: 0 / 329.4 MB, free: 10.73 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.695e-05/0.006717, allocations: 23.91 kB / 329.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.006719, allocations: 4 kB / 329.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-06/0.006726, allocations: 0 / 329.4 MB, free: 10.7 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.006729, allocations: 8 kB / 329.4 MB, free: 10.69 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.006731, allocations: 7.984 kB / 329.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002687/0.006999, allocations: 219.5 kB / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.466e-06/0.007008, allocations: 3.938 kB / 329.7 MB, free: 10.45 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.64e-05/0.007024, allocations: 15.98 kB / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.463e-05/0.007099, allocations: 7.984 kB / 329.7 MB, free: 10.43 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.007135, allocations: 7.984 kB / 329.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.177e-06/0.007139, allocations: 0 / 329.7 MB, free: 10.42 MB / 298.7 MB Notification: Performance of sorting global known variables: time 3.592e-05/0.007175, allocations: 91.28 kB / 329.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007175, allocations: 0 / 329.8 MB, free: 10.33 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002049/0.00738, allocations: 16 kB / 329.8 MB, free: 10.31 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.0003717/0.007752, allocations: 0.7552 MB / 330.6 MB, free: 9.531 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001855/0.007937, allocations: 87.91 kB / 330.6 MB, free: 9.445 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.123e-06/0.007938, allocations: 0 / 330.6 MB, free: 9.445 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 7.867e-05/0.008017, allocations: 51.89 kB / 330.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001831/0.0082, allocations: 0 / 330.7 MB, free: 9.395 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003346/0.008535, allocations: 202.3 kB / 330.9 MB, free: 9.156 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.312e-05/0.008578, allocations: 71.33 kB / 331 MB, free: 9.066 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.997e-05/0.008598, allocations: 4 kB / 331 MB, free: 9.062 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.065e-05/0.008638, allocations: 24.48 kB / 331 MB, free: 9.039 MB / 298.7 MB Notification: Performance of SimCode: time 4.11e-07/0.008639, allocations: 0 / 331 MB, free: 9.039 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01372/0.02236, allocations: 2.719 MB / 333.7 MB, free: 6.426 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.724/6.747, allocations: 3.984 kB / 333.7 MB, free: 6.422 MB / 298.7 MB " [Timeout remaining time 653] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 8.420623953454196]