Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.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.001236/0.001236, allocations: 111.5 kB / 21.22 MB, free: 0.6484 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.001336/0.001336, allocations: 209.2 kB / 24.51 MB, free: 3.941 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.367/1.367, allocations: 230.5 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.218/0.218, allocations: 46.95 MB / 361.6 MB, free: 4.055 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002115/0.002115, allocations: 76.16 kB / 0.4969 GB, free: 7.602 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3088/0.311, allocations: 66.09 MB / 0.5614 GB, free: 4.059 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003437/0.3144, allocations: 2.03 MB / 0.5634 GB, free: 2.02 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002134/0.3165, allocations: 1.27 MB / 0.5647 GB, free: 0.7422 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.95e-05/0.3166, allocations: 4 kB / 0.5647 GB, free: 0.7383 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.541e-05/0.3167, allocations: 19.73 kB / 0.5647 GB, free: 0.7188 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.3168, allocations: 47.58 kB / 0.5647 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005255/0.3174, allocations: 199.3 kB / 0.5649 GB, free: 488 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002501/0.3176, allocations: 184 kB / 0.5651 GB, free: 300 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002195/0.3178, allocations: 83.19 kB / 0.5652 GB, free: 220 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.318, allocations: 91.64 kB / 0.5653 GB, free: 128 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001148/0.3181, allocations: 91.48 kB / 0.5654 GB, free: 36 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.003e-05/0.3182, allocations: 16 kB / 0.5654 GB, free: 20 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003001/0.3185, allocations: 151.9 kB / 0.5655 GB, free: 15.87 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.057e-05/0.3185, allocations: 39.86 kB / 0.5656 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.114e-05/0.3186, allocations: 87.52 kB / 0.5656 GB, free: 15.75 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004396/0.319, allocations: 318.6 kB / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.319, allocations: 0 / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.319, allocations: 0 / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.053e-06/0.319, allocations: 0 / 0.5659 GB, free: 15.43 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 66 * Number of variables: 66 Notification: Performance of Generate backend data structure: time 0.0006642/0.3197, allocations: 465.5 kB / 0.5664 GB, free: 14.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.3198, allocations: 8.031 kB / 0.5664 GB, free: 14.94 MB / 414.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.463e-05/0.3198, allocations: 24.78 kB / 0.5664 GB, free: 14.92 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001122/0.3199, allocations: 107.5 kB / 0.5665 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009025/0.3208, allocations: 80.7 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.3211, allocations: 170.1 kB / 0.5668 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.21e-05/0.3211, allocations: 25.38 kB / 0.5668 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.836e-05/0.3212, allocations: 44.36 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000464/0.3216, allocations: 270.5 kB / 0.5671 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.3217, allocations: 11.95 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.3217, allocations: 16 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.059e-05/0.3217, allocations: 8 kB / 0.5671 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003368/0.322, allocations: 203.8 kB / 0.5673 GB, free: 13.96 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009696/0.323, allocations: 0.6308 MB / 0.5679 GB, free: 13.28 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006606/0.3237, allocations: 342.2 kB / 0.5683 GB, free: 12.94 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.3239, allocations: 142.6 kB / 0.5684 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.579e-05/0.3239, allocations: 4.438 kB / 0.5684 GB, free: 12.79 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.336e-05/0.3239, allocations: 39 kB / 0.5684 GB, free: 12.74 MB / 414.1 MB Notification: Performance of pre-optimization done (n=53): time 1.693e-06/0.3239, allocations: 3.938 kB / 0.5684 GB, free: 12.74 MB / 414.1 MB Notification: Performance of matching and sorting (n=67): time 0.001665/0.3256, allocations: 0.7437 MB / 0.5692 GB, free: 11.99 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.3257, allocations: 60.06 kB / 0.5692 GB, free: 11.92 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.312e-05/0.3257, allocations: 97.86 kB / 0.5693 GB, free: 11.81 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.3258, allocations: 41.69 kB / 0.5694 GB, free: 11.77 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.863e-05/0.3259, allocations: 141.7 kB / 0.5695 GB, free: 11.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.326, allocations: 234 kB / 0.5697 GB, free: 11.39 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.3262, allocations: 86.34 kB / 0.5698 GB, free: 11.3 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3263, allocations: 330.8 kB / 0.5701 GB, free: 10.97 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001943/0.3265, allocations: 105.2 kB / 0.5702 GB, free: 10.87 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000236/0.3267, allocations: 152.7 kB / 0.5704 GB, free: 10.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004369/0.3272, allocations: 282.3 kB / 0.5706 GB, free: 10.43 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3272, allocations: 0 / 0.5706 GB, free: 10.43 MB / 414.1 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0005689/0.3277, allocations: 370.4 kB / 0.571 GB, free: 10.07 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3278, allocations: 8 kB / 0.571 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.072e-06/0.3278, allocations: 0 / 0.571 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.992e-05/0.3278, allocations: 7.938 kB / 0.571 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006101/0.3284, allocations: 183.8 kB / 0.5712 GB, free: 9.871 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.3284, allocations: 8 kB / 0.5712 GB, free: 9.863 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.58e-05/0.3285, allocations: 19.98 kB / 0.5712 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.744e-05/0.3285, allocations: 16 kB / 0.5712 GB, free: 9.828 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (67): * Single equations (assignments): 67 * 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 0.000144/0.3287, allocations: 145.7 kB / 0.5714 GB, free: 9.676 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.092e-05/0.3287, allocations: 23.86 kB / 0.5714 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.754e-05/0.3288, allocations: 46.3 kB / 0.5714 GB, free: 9.605 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.524e-06/0.3288, allocations: 8 kB / 0.5714 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.3288, allocations: 0 / 0.5714 GB, free: 9.598 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.313e-06/0.3288, allocations: 3.984 kB / 0.5714 GB, free: 9.594 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001493/0.3303, allocations: 0.8961 MB / 0.5723 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.3303, allocations: 0 / 0.5723 GB, free: 8.645 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005472/0.3309, allocations: 175.8 kB / 0.5725 GB, free: 8.473 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.032e-06/0.3309, allocations: 4 kB / 0.5725 GB, free: 8.469 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.311e-05/0.3309, allocations: 19.94 kB / 0.5725 GB, free: 8.449 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3309, allocations: 4.188 kB / 0.5725 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.3309, allocations: 0 / 0.5725 GB, free: 8.445 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005942/0.3315, allocations: 482.3 kB / 0.573 GB, free: 7.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/0.3315, allocations: 23.84 kB / 0.573 GB, free: 7.938 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.054e-05/0.3316, allocations: 12 kB / 0.573 GB, free: 7.926 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.3317, allocations: 16 kB / 0.573 GB, free: 7.91 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.3317, allocations: 40.58 kB / 0.573 GB, free: 7.871 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.944e-05/0.3318, allocations: 12 kB / 0.5731 GB, free: 7.859 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.995e-05/0.3318, allocations: 91.27 kB / 0.5731 GB, free: 7.77 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3318, allocations: 0 / 0.5731 GB, free: 7.77 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.3321, allocations: 68 kB / 0.5732 GB, free: 7.703 MB / 414.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 (67): * Single equations (assignments): 67 * 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.001165/0.3333, allocations: 1.18 MB / 0.5744 GB, free: 6.5 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0005201/0.3338, allocations: 301.7 kB / 0.5746 GB, free: 6.203 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.3338, allocations: 0 / 0.5746 GB, free: 6.203 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002481/0.334, allocations: 175.6 kB / 0.5748 GB, free: 6.031 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.3343, allocations: 20 kB / 0.5748 GB, free: 6.012 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003136/0.3374, allocations: 2.71 MB / 0.5775 GB, free: 3.219 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.3376, allocations: 169.3 kB / 0.5776 GB, free: 3.035 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001245/0.3377, allocations: 44.25 kB / 0.5777 GB, free: 2.988 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.3379, allocations: 99.41 kB / 0.5778 GB, free: 2.891 MB / 414.1 MB Notification: Performance of SimCode: time 3.41e-07/0.3379, allocations: 0 / 0.5778 GB, free: 2.891 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0241/0.362, allocations: 5.156 MB / 0.5828 GB, free: 13.83 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.18, allocations: 14.14 kB / 0.5828 GB, free: 13.82 MB / 430.1 MB " [Timeout remaining time 649] (rm -f ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks_fmu --startTime=0 --stopTime=1.1 --stepSize=0.000219912 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Blocks/ConversionBlocks/ConversionBlocks.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.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.117585693951696]