Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 107.2 kB / 20.44 MB, free: 1.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002445/0.002445, allocations: 209.6 kB / 23.73 MB, free: 4.41 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.414/1.414, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.ComplexBlocks.Examples.TestConversionBlock,fileNamePrefix="Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001611/0.001611, allocations: 47.92 kB / 377.7 MB, free: 3.008 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3047/0.3063, allocations: 53.36 MB / 431 MB, free: 6.668 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.002921/0.3093, allocations: 1.52 MB / 432.6 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009513/0.3102, allocations: 0.4986 MB / 433.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.358e-05/0.3103, allocations: 0 / 433.1 MB, free: 4.641 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.3104, allocations: 19.92 kB / 433.1 MB, free: 4.621 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 7.593e-05/0.3105, allocations: 7.875 kB / 433.1 MB, free: 4.613 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001746/0.3106, allocations: 39.91 kB / 433.1 MB, free: 4.574 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000103/0.3107, allocations: 51.84 kB / 433.2 MB, free: 4.523 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.573e-05/0.3108, allocations: 15.98 kB / 433.2 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.311, allocations: 35.86 kB / 433.2 MB, free: 4.473 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.712e-05/0.3111, allocations: 31.89 kB / 433.3 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.3111, allocations: 4 kB / 433.3 MB, free: 4.438 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.702e-05/0.3112, allocations: 15.94 kB / 433.3 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.095e-05/0.3112, allocations: 19.92 kB / 433.3 MB, free: 4.402 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 2.757e-05/0.3112, allocations: 15.92 kB / 433.3 MB, free: 4.387 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001698/0.3114, allocations: 73.42 kB / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3114, allocations: 0 / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.3114, allocations: 0 / 433.4 MB, free: 4.316 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.3114, allocations: 0 / 433.4 MB, free: 4.316 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.0006536/0.312, allocations: 318.1 kB / 433.7 MB, free: 3.977 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3121, allocations: 11.97 kB / 433.7 MB, free: 3.965 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.928e-05/0.3121, allocations: 38.69 kB / 433.7 MB, free: 3.918 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.3122, allocations: 4.891 kB / 433.8 MB, free: 3.914 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.3123, allocations: 106.5 kB / 433.9 MB, free: 3.785 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.776e-05/0.3123, allocations: 8.375 kB / 433.9 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.321e-05/0.3123, allocations: 4.375 kB / 433.9 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002783/0.3126, allocations: 93.7 kB / 434 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.3126, allocations: 3.938 kB / 434 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.159e-05/0.3126, allocations: 0 / 434 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3126, allocations: 0 / 434 MB, free: 3.672 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003254/0.3129, allocations: 83.91 kB / 434 MB, free: 3.59 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004603/0.3134, allocations: 267.9 kB / 434.3 MB, free: 3.285 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002541/0.3137, allocations: 78.47 kB / 434.4 MB, free: 3.199 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.3138, allocations: 48.94 kB / 434.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.3138, allocations: 0 / 434.4 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.871e-05/0.3139, allocations: 30.56 kB / 434.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.3139, allocations: 0 / 434.5 MB, free: 3.109 MB / 334.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005733/0.3144, allocations: 161.5 kB / 434.6 MB, free: 2.945 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.3145, allocations: 51.41 kB / 434.7 MB, free: 2.883 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.014e-05/0.3146, allocations: 109.8 kB / 434.8 MB, free: 2.766 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3146, allocations: 25.7 kB / 434.8 MB, free: 2.734 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.893e-05/0.3147, allocations: 92.09 kB / 434.9 MB, free: 2.641 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.755e-05/0.3147, allocations: 19.89 kB / 434.9 MB, free: 2.621 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.3147, allocations: 13.72 kB / 434.9 MB, free: 2.602 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001507/0.3149, allocations: 318.8 kB / 435.2 MB, free: 2.281 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001563/0.3151, allocations: 44.2 kB / 435.3 MB, free: 2.238 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001448/0.3152, allocations: 35.97 kB / 435.3 MB, free: 2.203 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002834/0.3155, allocations: 80.78 kB / 435.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.3155, allocations: 0 / 435.4 MB, free: 2.121 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003383/0.3158, allocations: 121.5 kB / 435.5 MB, free: 1.996 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3158, allocations: 4 kB / 435.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.3158, allocations: 0 / 435.5 MB, free: 1.992 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.155e-05/0.3158, allocations: 4 kB / 435.5 MB, free: 1.988 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000134/0.316, allocations: 15.98 kB / 435.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.316, allocations: 384 / 435.5 MB, free: 1.973 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.58e-05/0.3161, allocations: 27.86 kB / 435.6 MB, free: 1.945 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.406e-06/0.3161, allocations: 3.938 kB / 435.6 MB, free: 1.941 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 8.489e-05/0.3162, allocations: 117.8 kB / 435.7 MB, free: 1.816 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.407e-05/0.3162, allocations: 3.938 kB / 435.7 MB, free: 1.812 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003976/0.3166, allocations: 133.6 kB / 435.8 MB, free: 1.672 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.278e-06/0.3166, allocations: 4 kB / 435.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.347e-06/0.3166, allocations: 0 / 435.8 MB, free: 1.668 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.429e-06/0.3166, allocations: 7.984 kB / 435.8 MB, free: 1.66 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.3168, allocations: 148.7 kB / 436 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.3168, allocations: 0 / 436 MB, free: 1.473 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001135/0.3169, allocations: 23.97 kB / 436 MB, free: 1.449 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.3169, allocations: 7.984 kB / 436 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.095e-06/0.3169, allocations: 0 / 436 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3169, allocations: 0 / 436 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3169, allocations: 0 / 436 MB, free: 1.441 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004028/0.3173, allocations: 227.5 kB / 436.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.615e-06/0.3173, allocations: 0 / 436.2 MB, free: 1.203 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.232e-05/0.3174, allocations: 12 kB / 436.2 MB, free: 1.191 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.3175, allocations: 7.984 kB / 436.2 MB, free: 1.184 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.786e-05/0.3175, allocations: 7.984 kB / 436.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.3175, allocations: 0 / 436.3 MB, free: 1.176 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.799e-05/0.3176, allocations: 95.2 kB / 436.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3176, allocations: 0 / 436.3 MB, free: 1.082 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.000227/0.3178, allocations: 16 kB / 436.4 MB, free: 1.066 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.0007591/0.3185, allocations: 0.7553 MB / 437.1 MB, free: 292 kB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0003548/0.3189, allocations: 83.92 kB / 437.2 MB, free: 208 kB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3189, allocations: 0 / 437.2 MB, free: 208 kB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001678/0.3191, allocations: 47.95 kB / 437.2 MB, free: 160 kB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000308/0.3194, allocations: 7.875 kB / 437.3 MB, free: 152 kB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005283/0.3199, allocations: 195.8 kB / 437.4 MB, free: 15.92 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.823e-05/0.32, allocations: 75.33 kB / 437.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 3.389e-05/0.32, allocations: 4.281 kB / 437.5 MB, free: 15.82 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.121e-05/0.3201, allocations: 19.44 kB / 437.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3201, allocations: 0 / 437.5 MB, free: 15.8 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02964/0.3497, allocations: 2.586 MB / 440.1 MB, free: 13.36 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.59/10.94, allocations: 15.98 kB / 440.1 MB, free: 13.34 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock_fmu --startTime=0 --stopTime=1.01 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_4_1_0_Modelica_ComplexBlocks_Examples_TestConversionBlock.fmu > Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_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_4.1.0_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: 13.295900661032647]