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.001361/0.001361, allocations: 114 kB / 20.43 MB, free: 1.457 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.001515/0.001515, allocations: 214.2 kB / 23.74 MB, free: 4.672 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.527/1.527, allocations: 230.5 MB / 257.4 MB, free: 8.008 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.002794/0.002794, allocations: 67.89 kB / 377.7 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.356, allocations: 53.41 MB / 431.2 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003109/0.3591, allocations: 1.527 MB / 432.7 MB, free: 5.164 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001022/0.3601, allocations: 0.5453 MB / 433.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.947e-05/0.3602, allocations: 0 / 433.2 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.3604, allocations: 15.86 kB / 433.2 MB, free: 4.598 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.006e-05/0.3604, allocations: 11.92 kB / 433.3 MB, free: 4.586 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001724/0.3606, allocations: 43.91 kB / 433.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001121/0.3607, allocations: 55.78 kB / 433.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001059/0.3608, allocations: 16 kB / 433.4 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001803/0.361, allocations: 35.89 kB / 433.4 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.582e-05/0.3611, allocations: 27.8 kB / 433.4 MB, free: 4.41 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 4.348e-05/0.3611, allocations: 8 kB / 433.4 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.328e-05/0.3612, allocations: 19.98 kB / 433.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.538e-05/0.3612, allocations: 8 kB / 433.5 MB, free: 4.375 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.756e-05/0.3612, allocations: 27.86 kB / 433.5 MB, free: 4.348 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001558/0.3614, allocations: 71.09 kB / 433.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.3614, allocations: 0 / 433.6 MB, free: 4.281 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.492e-06/0.3614, allocations: 4 kB / 433.6 MB, free: 4.277 MB / 334.1 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.3614, allocations: 3.938 kB / 433.6 MB, free: 4.273 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.0006477/0.3621, allocations: 307.1 kB / 433.9 MB, free: 3.945 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3621, allocations: 12.03 kB / 433.9 MB, free: 3.934 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.743e-05/0.3621, allocations: 34.75 kB / 433.9 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.3622, allocations: 12.89 kB / 433.9 MB, free: 3.879 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001171/0.3623, allocations: 118.5 kB / 434 MB, free: 3.738 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.3623, allocations: 4.375 kB / 434 MB, free: 3.734 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.526e-05/0.3623, allocations: 8.375 kB / 434.1 MB, free: 3.727 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000276/0.3626, allocations: 93.69 kB / 434.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.436e-05/0.3626, allocations: 0 / 434.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.741e-05/0.3626, allocations: 0 / 434.1 MB, free: 3.629 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.3627, allocations: 4 kB / 434.2 MB, free: 3.625 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003179/0.363, allocations: 79.92 kB / 434.2 MB, free: 3.547 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004501/0.3634, allocations: 279.7 kB / 434.5 MB, free: 3.23 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002595/0.3637, allocations: 70.53 kB / 434.6 MB, free: 3.152 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001611/0.3638, allocations: 48.94 kB / 434.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.967e-05/0.3639, allocations: 0 / 434.6 MB, free: 3.102 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.29e-05/0.3639, allocations: 38.56 kB / 434.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 8.51e-07/0.3639, allocations: 0 / 434.7 MB, free: 3.055 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.000558/0.3645, allocations: 153.6 kB / 434.8 MB, free: 2.898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.3645, allocations: 55.41 kB / 434.9 MB, free: 2.832 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.536e-05/0.3646, allocations: 109.8 kB / 435 MB, free: 2.715 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.937e-05/0.3646, allocations: 25.7 kB / 435 MB, free: 2.684 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.507e-05/0.3647, allocations: 96.08 kB / 435.1 MB, free: 2.586 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.64e-05/0.3647, allocations: 15.91 kB / 435.1 MB, free: 2.57 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.972e-05/0.3648, allocations: 17.72 kB / 435.1 MB, free: 2.547 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3649, allocations: 322.8 kB / 435.4 MB, free: 2.223 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000151/0.3651, allocations: 35.97 kB / 435.5 MB, free: 2.188 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001433/0.3652, allocations: 35.95 kB / 435.5 MB, free: 2.152 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003188/0.3655, allocations: 80.78 kB / 435.6 MB, free: 2.07 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3655, allocations: 7.938 kB / 435.6 MB, free: 2.062 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003276/0.3659, allocations: 113.6 kB / 435.7 MB, free: 1.945 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.3659, allocations: 6.188 kB / 435.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3659, allocations: 0 / 435.7 MB, free: 1.941 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.3659, allocations: 4 kB / 435.7 MB, free: 1.938 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001376/0.366, allocations: 20.41 kB / 435.7 MB, free: 1.918 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.366, allocations: 4 kB / 435.7 MB, free: 1.914 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.037e-05/0.3661, allocations: 15.92 kB / 435.8 MB, free: 1.898 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.3661, allocations: 3.938 kB / 435.8 MB, free: 1.895 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 9.274e-05/0.3662, allocations: 113.8 kB / 435.9 MB, free: 1.773 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.719e-05/0.3663, allocations: 7.938 kB / 435.9 MB, free: 1.766 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004065/0.3667, allocations: 141.6 kB / 436 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3667, allocations: 0 / 436 MB, free: 1.617 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.826e-06/0.3667, allocations: 4 kB / 436 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.577e-06/0.3667, allocations: 0 / 436 MB, free: 1.613 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/0.3669, allocations: 156.6 kB / 436.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3669, allocations: 0 / 436.2 MB, free: 1.418 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001188/0.367, allocations: 23.97 kB / 436.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.684e-06/0.367, allocations: 0 / 436.2 MB, free: 1.395 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.367, allocations: 8 kB / 436.2 MB, free: 1.387 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.367, allocations: 4 kB / 436.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.367, allocations: 0 / 436.2 MB, free: 1.383 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000455/0.3675, allocations: 219.3 kB / 436.4 MB, free: 1.152 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.149e-05/0.3675, allocations: 7.953 kB / 436.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.3675, allocations: 0 / 436.4 MB, free: 1.145 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.3676, allocations: 19.98 kB / 436.4 MB, free: 1.125 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.02e-05/0.3677, allocations: 3.984 kB / 436.5 MB, free: 1.121 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.178e-06/0.3677, allocations: 4 kB / 436.5 MB, free: 1.117 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.978e-05/0.3677, allocations: 99.52 kB / 436.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3677, allocations: 0 / 436.6 MB, free: 1.02 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002229/0.368, allocations: 8 kB / 436.6 MB, free: 1.012 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.0007617/0.3687, allocations: 0.7553 MB / 437.3 MB, free: 236 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003323/0.369, allocations: 83.92 kB / 437.4 MB, free: 152 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.369, allocations: 0 / 437.4 MB, free: 152 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001956/0.3692, allocations: 51.89 kB / 437.4 MB, free: 100 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003045/0.3695, allocations: 3.938 kB / 437.5 MB, free: 96 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005392/0.3701, allocations: 203.8 kB / 437.7 MB, free: 15.86 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.3704, allocations: 0.6924 MB / 438.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 2.671e-05/0.3704, allocations: 0 / 438.3 MB, free: 15.14 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.3705, allocations: 19.44 kB / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of SimCode: time 3.21e-07/0.3705, allocations: 0 / 438.4 MB, free: 15.12 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0312/0.4017, allocations: 2.169 MB / 440.5 MB, free: 13.06 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.63, allocations: 11.84 kB / 440.5 MB, free: 13.05 MB / 350.1 MB " [Timeout remaining time 648] (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: 14.190439380938187]