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.001285/0.001285, allocations: 116.7 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.001447/0.001447, allocations: 214.6 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.468/1.468, allocations: 230.5 MB / 257.4 MB, free: 8 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.2276/0.2276, allocations: 46.92 MB / 360.8 MB, free: 4.164 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Blocks.ConversionBlocks,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002252/0.002252, allocations: 79.88 kB / 0.4962 GB, free: 7.719 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.327/0.3293, allocations: 66.08 MB / 0.5607 GB, free: 4.262 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.003324/0.3326, allocations: 2.141 MB / 0.5628 GB, free: 2.109 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00222/0.3348, allocations: 1.394 MB / 0.5642 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.464e-05/0.3349, allocations: 7.938 kB / 0.5642 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 6.603e-05/0.335, allocations: 23.73 kB / 0.5642 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001216/0.3351, allocations: 43.58 kB / 0.5643 GB, free: 0.6328 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004971/0.3356, allocations: 199.3 kB / 0.5645 GB, free: 448 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002229/0.3358, allocations: 176.1 kB / 0.5646 GB, free: 268 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001949/0.336, allocations: 95.02 kB / 0.5647 GB, free: 176 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.3362, allocations: 87.64 kB / 0.5648 GB, free: 88 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001344/0.3363, allocations: 91.53 kB / 0.5649 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.3363, allocations: 20 kB / 0.5649 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002831/0.3366, allocations: 147.9 kB / 0.5651 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.078e-05/0.3366, allocations: 47.83 kB / 0.5651 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.516e-05/0.3367, allocations: 95.41 kB / 0.5652 GB, free: 15.69 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004091/0.3371, allocations: 318.6 kB / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.3371, allocations: 0 / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.3371, allocations: 0 / 0.5655 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.791e-06/0.3371, allocations: 0 / 0.5655 GB, free: 15.38 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.0005935/0.3377, allocations: 465.5 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.659e-05/0.3378, allocations: 8.031 kB / 0.5659 GB, free: 14.89 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.3379, allocations: 91.19 kB / 0.566 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009411/0.3388, allocations: 88.69 kB / 0.5661 GB, free: 14.7 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.3391, allocations: 158.2 kB / 0.5663 GB, free: 14.52 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.545e-05/0.3391, allocations: 25.03 kB / 0.5663 GB, free: 14.5 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.048e-05/0.3392, allocations: 28.38 kB / 0.5663 GB, free: 14.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003914/0.3396, allocations: 238.2 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.279e-05/0.3396, allocations: 3.938 kB / 0.5665 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.387e-05/0.3396, allocations: 12 kB / 0.5666 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.3396, allocations: 8 kB / 0.5666 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002976/0.3399, allocations: 162.5 kB / 0.5667 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009022/0.3408, allocations: 0.6054 MB / 0.5673 GB, free: 13.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005052/0.3413, allocations: 211.4 kB / 0.5675 GB, free: 13.18 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000126/0.3414, allocations: 77.23 kB / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.174e-05/0.3415, allocations: 240 / 0.5676 GB, free: 13.1 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.623e-05/0.3415, allocations: 34.8 kB / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 1.002e-06/0.3415, allocations: 0 / 0.5676 GB, free: 13.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0005004/0.342, allocations: 215.8 kB / 0.5678 GB, free: 12.84 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.342, allocations: 59.34 kB / 0.5679 GB, free: 12.77 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.095e-05/0.3421, allocations: 105.9 kB / 0.568 GB, free: 12.66 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.515e-05/0.3421, allocations: 29.7 kB / 0.568 GB, free: 12.62 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.36e-05/0.3422, allocations: 156.5 kB / 0.5682 GB, free: 12.47 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.097e-05/0.3423, allocations: 99.16 kB / 0.5683 GB, free: 12.37 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.209e-05/0.3424, allocations: 37.7 kB / 0.5683 GB, free: 12.33 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3425, allocations: 322.8 kB / 0.5686 GB, free: 12 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.659e-05/0.3426, allocations: 39.98 kB / 0.5686 GB, free: 11.96 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.084e-05/0.3427, allocations: 52.89 kB / 0.5687 GB, free: 11.91 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001994/0.3429, allocations: 117.2 kB / 0.5688 GB, free: 11.8 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3429, allocations: 3.938 kB / 0.5688 GB, free: 11.79 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002691/0.3432, allocations: 169.6 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3432, allocations: 4 kB / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3432, allocations: 0 / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.416e-05/0.3432, allocations: 0 / 0.569 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003633/0.3436, allocations: 107.8 kB / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.313e-06/0.3436, allocations: 4 kB / 0.5691 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.715e-05/0.3436, allocations: 15.94 kB / 0.5691 GB, free: 11.49 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.3437, allocations: 4 kB / 0.5691 GB, free: 11.49 MB / 414.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 (27): * Single equations (assignments): 27 * 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.0001118/0.3438, allocations: 129.8 kB / 0.5692 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.892e-05/0.3438, allocations: 11.91 kB / 0.5692 GB, free: 11.34 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.957e-05/0.3439, allocations: 21.62 kB / 0.5693 GB, free: 11.31 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-06/0.3439, allocations: 7.938 kB / 0.5693 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.3439, allocations: 7.938 kB / 0.5693 GB, free: 11.3 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3439, allocations: 3.984 kB / 0.5693 GB, free: 11.29 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002948/0.3442, allocations: 248.6 kB / 0.5695 GB, free: 11.01 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.3442, allocations: 3.984 kB / 0.5695 GB, free: 11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003491/0.3445, allocations: 99.94 kB / 0.5696 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3445, allocations: 0 / 0.5696 GB, free: 10.91 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.247e-05/0.3446, allocations: 4 kB / 0.5696 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.606e-06/0.3446, allocations: 7.938 kB / 0.5696 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3446, allocations: 7.938 kB / 0.5696 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.3449, allocations: 275.6 kB / 0.5699 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.228e-05/0.3449, allocations: 15.84 kB / 0.5699 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.236e-05/0.3449, allocations: 8.25 kB / 0.5699 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.919e-05/0.345, allocations: 11.94 kB / 0.5699 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.306e-05/0.3451, allocations: 15.97 kB / 0.5699 GB, free: 10.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.3451, allocations: 15.98 kB / 0.57 GB, free: 10.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 4.68e-05/0.3451, allocations: 79.28 kB / 0.57 GB, free: 10.46 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3451, allocations: 0 / 0.57 GB, free: 10.46 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002796/0.3454, allocations: 59.78 kB / 0.5701 GB, free: 10.4 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 (27): * Single equations (assignments): 27 * 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.0007553/0.3462, allocations: 0.8724 MB / 0.5709 GB, free: 9.496 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002826/0.3464, allocations: 128.3 kB / 0.5711 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3464, allocations: 0 / 0.5711 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.3466, allocations: 72.31 kB / 0.5711 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002316/0.3468, allocations: 17.97 kB / 0.5711 GB, free: 9.285 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.3492, allocations: 1.976 MB / 0.5731 GB, free: 7.234 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004066/0.3496, allocations: 0.7512 MB / 0.5738 GB, free: 6.457 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 8.783e-05/0.3496, allocations: 13.41 kB / 0.5738 GB, free: 6.445 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001158/0.3498, allocations: 67.42 kB / 0.5739 GB, free: 6.379 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3498, allocations: 0 / 0.5739 GB, free: 6.379 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02733/0.3771, allocations: 2.984 MB / 0.5768 GB, free: 3.488 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.43, allocations: 6.594 kB / 0.5768 GB, free: 3.484 MB / 414.1 MB " [Timeout remaining time 648] (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 & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.csv --start-time 0 --stop-time 1.1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.000219912 ModelicaTest_trunk_ModelicaTest_Blocks_ConversionBlocks.fmu > ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Blocks.ConversionBlocks_res.csv","/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.50980110099772]