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.001399/0.001399, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001451/0.001451, allocations: 212.8 kB / 23.73 MB, free: 4.164 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.414/1.414, allocations: 230.5 MB / 257.4 MB, free: 7.785 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.2315/0.2315, allocations: 46.95 MB / 360.8 MB, free: 3.918 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.002633/0.002633, allocations: 84.14 kB / 0.4962 GB, free: 7.531 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3211, allocations: 66.08 MB / 0.5607 GB, free: 4.008 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Blocks.ConversionBlocks): time 0.004247/0.3253, allocations: 2.039 MB / 0.5627 GB, free: 1.957 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.3279, allocations: 1.27 MB / 0.5639 GB, free: 0.6797 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001334/0.3281, allocations: 4 kB / 0.5639 GB, free: 0.6758 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 8.461e-05/0.3281, allocations: 27.67 kB / 0.564 GB, free: 0.6484 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001444/0.3283, allocations: 35.66 kB / 0.564 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006464/0.3289, allocations: 199.3 kB / 0.5642 GB, free: 428 kB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002895/0.3292, allocations: 176.1 kB / 0.5644 GB, free: 248 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002301/0.3295, allocations: 85.7 kB / 0.5644 GB, free: 164 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.3297, allocations: 87.64 kB / 0.5645 GB, free: 76 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001483/0.3298, allocations: 83.48 kB / 0.5646 GB, free: 15.99 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.3298, allocations: 20 kB / 0.5646 GB, free: 15.97 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003468/0.3302, allocations: 147.9 kB / 0.5648 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 4.165e-05/0.3302, allocations: 47.83 kB / 0.5648 GB, free: 15.78 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 8.907e-05/0.3303, allocations: 71.61 kB / 0.5649 GB, free: 15.71 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004755/0.3308, allocations: 322.5 kB / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.3308, allocations: 0 / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.3308, allocations: 0 / 0.5652 GB, free: 15.39 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.361e-06/0.3308, allocations: 0 / 0.5652 GB, free: 15.39 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.0006019/0.3314, allocations: 461.5 kB / 0.5656 GB, free: 14.91 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.3314, allocations: 16.03 kB / 0.5656 GB, free: 14.9 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001028/0.3315, allocations: 91.19 kB / 0.5657 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009001/0.3324, allocations: 80.69 kB / 0.5658 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003657/0.3328, allocations: 166.1 kB / 0.566 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.161e-05/0.3328, allocations: 24.97 kB / 0.566 GB, free: 14.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.3329, allocations: 32.38 kB / 0.566 GB, free: 14.48 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004617/0.3333, allocations: 230.2 kB / 0.5662 GB, free: 14.25 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.326e-05/0.3334, allocations: 4 kB / 0.5662 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.711e-05/0.3334, allocations: 16 kB / 0.5663 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.3334, allocations: 8 kB / 0.5663 GB, free: 14.22 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003136/0.3337, allocations: 162.5 kB / 0.5664 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001016/0.3347, allocations: 0.5626 MB / 0.567 GB, free: 13.45 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005361/0.3353, allocations: 219.7 kB / 0.5672 GB, free: 13.23 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.3354, allocations: 61.3 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.614e-05/0.3354, allocations: 4.234 kB / 0.5672 GB, free: 13.16 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.3355, allocations: 34.8 kB / 0.5673 GB, free: 13.12 MB / 414.1 MB Notification: Performance of pre-optimization done (n=27): time 2.775e-06/0.3355, allocations: 0 / 0.5673 GB, free: 13.12 MB / 414.1 MB Notification: Performance of matching and sorting (n=27): time 0.0004778/0.3359, allocations: 219.8 kB / 0.5675 GB, free: 12.9 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.723e-05/0.336, allocations: 59.34 kB / 0.5675 GB, free: 12.83 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.5e-05/0.3361, allocations: 101.9 kB / 0.5676 GB, free: 12.72 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.425e-05/0.3361, allocations: 29.7 kB / 0.5677 GB, free: 12.68 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001047/0.3362, allocations: 156.5 kB / 0.5678 GB, free: 12.53 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.838e-05/0.3363, allocations: 91.17 kB / 0.5679 GB, free: 12.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/0.3364, allocations: 45.7 kB / 0.5679 GB, free: 12.39 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.3365, allocations: 322.8 kB / 0.5683 GB, free: 12.06 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.548e-05/0.3366, allocations: 39.98 kB / 0.5683 GB, free: 12.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.79e-05/0.3367, allocations: 44.89 kB / 0.5683 GB, free: 11.98 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002158/0.3369, allocations: 125.3 kB / 0.5685 GB, free: 11.86 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3369, allocations: 0 / 0.5685 GB, free: 11.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0002844/0.3372, allocations: 169.5 kB / 0.5686 GB, free: 11.68 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.3372, allocations: 8 kB / 0.5686 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.3372, allocations: 0 / 0.5686 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.3372, allocations: 0 / 0.5686 GB, free: 11.68 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003585/0.3376, allocations: 104.1 kB / 0.5687 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.995e-06/0.3376, allocations: 3.984 kB / 0.5687 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.493e-05/0.3377, allocations: 19.88 kB / 0.5687 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.531e-05/0.3377, allocations: 8 kB / 0.5688 GB, free: 11.54 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.0001175/0.3378, allocations: 129.8 kB / 0.5689 GB, free: 11.41 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.737e-05/0.3379, allocations: 15.91 kB / 0.5689 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.88e-05/0.3379, allocations: 21.62 kB / 0.5689 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.042e-05/0.3379, allocations: 7.938 kB / 0.5689 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3379, allocations: 0 / 0.5689 GB, free: 11.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.45e-06/0.3379, allocations: 7.984 kB / 0.5689 GB, free: 11.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002995/0.3382, allocations: 240.6 kB / 0.5692 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.3382, allocations: 0 / 0.5692 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003493/0.3386, allocations: 99.88 kB / 0.5693 GB, free: 10.97 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.3386, allocations: 7.938 kB / 0.5693 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.317e-05/0.3386, allocations: 4 kB / 0.5693 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.3386, allocations: 3.938 kB / 0.5693 GB, free: 10.96 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3386, allocations: 4 kB / 0.5693 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003415/0.339, allocations: 279.6 kB / 0.5695 GB, free: 10.66 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.882e-05/0.339, allocations: 15.84 kB / 0.5696 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.143e-05/0.339, allocations: 8 kB / 0.5696 GB, free: 10.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.681e-05/0.3391, allocations: 7.938 kB / 0.5696 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.492e-05/0.3391, allocations: 19.95 kB / 0.5696 GB, free: 10.61 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/0.3391, allocations: 8 kB / 0.5696 GB, free: 10.61 MB / 414.1 MB Notification: Performance of sorting global known variables: time 6.005e-05/0.3392, allocations: 87.27 kB / 0.5697 GB, free: 10.52 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3392, allocations: 0 / 0.5697 GB, free: 10.52 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002852/0.3395, allocations: 55.78 kB / 0.5697 GB, free: 10.46 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.0008258/0.3403, allocations: 0.8763 MB / 0.5706 GB, free: 9.559 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002811/0.3406, allocations: 120.3 kB / 0.5707 GB, free: 9.441 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.3406, allocations: 4 kB / 0.5707 GB, free: 9.438 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.3407, allocations: 68.38 kB / 0.5708 GB, free: 9.371 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.341, allocations: 15.92 kB / 0.5708 GB, free: 9.355 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002363/0.3433, allocations: 1.976 MB / 0.5727 GB, free: 7.305 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001414/0.3435, allocations: 141.5 kB / 0.5728 GB, free: 7.145 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 9.332e-05/0.3436, allocations: 17.41 kB / 0.5729 GB, free: 7.125 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.3437, allocations: 67.42 kB / 0.5729 GB, free: 7.059 MB / 414.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3437, allocations: 0 / 0.5729 GB, free: 7.059 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02984/0.3735, allocations: 3.214 MB / 0.5761 GB, free: 3.938 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/11.04, allocations: 3.516 kB / 0.5761 GB, free: 3.938 MB / 414.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: 13.94767234614119]