Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.001421/0.001421, allocations: 106.5 kB / 21.23 MB, free: 0.6562 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.002622/0.002622, allocations: 212 kB / 24.54 MB, free: 4.016 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.506/1.506, allocations: 230.6 MB / 258.3 MB, free: 8.055 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-beta.om/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: translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock")
translateModel(Modelica.ComplexBlocks.Examples.TestConversionBlock,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1010,variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock") [Timeout 660]
"Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions.
Notification: Performance of FrontEnd - loaded program: time 0.002081/0.002081, allocations: 68.75 kB / 379 MB, free: 2.688 MB / 302.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2987, allocations: 53.37 MB / 432.4 MB, free: 6.969 MB / 334.1 MB
Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.003755/0.3025, allocations: 1.539 MB / 433.9 MB, free: 5.426 MB / 334.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001262/0.3037, allocations: 0.5414 MB / 434.5 MB, free: 4.879 MB / 334.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.473e-05/0.3038, allocations: 0 / 434.5 MB, free: 4.879 MB / 334.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.3039, allocations: 19.88 kB / 434.5 MB, free: 4.859 MB / 334.1 MB
Notification: Performance of NFTyping.typeBindings: time 8.702e-05/0.304, allocations: 7.922 kB / 434.5 MB, free: 4.852 MB / 334.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002162/0.3042, allocations: 31.92 kB / 434.5 MB, free: 4.82 MB / 334.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001477/0.3044, allocations: 67.77 kB / 434.6 MB, free: 4.754 MB / 334.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3045, allocations: 15.98 kB / 434.6 MB, free: 4.738 MB / 334.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000215/0.3047, allocations: 27.92 kB / 434.6 MB, free: 4.711 MB / 334.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.3048, allocations: 39.83 kB / 434.7 MB, free: 4.672 MB / 334.1 MB
Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.3048, allocations: 4 kB / 434.7 MB, free: 4.668 MB / 334.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.76e-05/0.3049, allocations: 15.94 kB / 434.7 MB, free: 4.652 MB / 334.1 MB
Notification: Performance of NFScalarize.scalarize: time 3.024e-05/0.3049, allocations: 15.98 kB / 434.7 MB, free: 4.637 MB / 334.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.611e-05/0.305, allocations: 19.88 kB / 434.7 MB, free: 4.617 MB / 334.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0002187/0.3052, allocations: 69.41 kB / 434.8 MB, free: 4.555 MB / 334.1 MB
Notification: Performance of FrontEnd - DAE generated: time 8.015e-06/0.3052, allocations: 0 / 434.8 MB, free: 4.555 MB / 334.1 MB
Notification: Performance of FrontEnd: time 2.946e-06/0.3052, allocations: 8 kB / 434.8 MB, free: 4.547 MB / 334.1 MB
Notification: Performance of Transformations before backend: time 7.414e-06/0.3052, allocations: 0 / 434.8 MB, free: 4.547 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.0009698/0.3062, allocations: 302.1 kB / 435.1 MB, free: 4.223 MB / 334.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.357e-05/0.3063, allocations: 11.97 kB / 435.1 MB, free: 4.211 MB / 334.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.648e-05/0.3063, allocations: 16.86 kB / 435.1 MB, free: 4.195 MB / 334.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001663/0.3065, allocations: 114.5 kB / 435.2 MB, free: 4.059 MB / 334.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.3065, allocations: 384 / 435.2 MB, free: 4.059 MB / 334.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.1e-05/0.3065, allocations: 4.375 kB / 435.2 MB, free: 4.055 MB / 334.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004397/0.307, allocations: 93.89 kB / 435.3 MB, free: 3.957 MB / 334.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.307, allocations: 3.938 kB / 435.3 MB, free: 3.953 MB / 334.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.137e-05/0.307, allocations: 7.938 kB / 435.3 MB, free: 3.945 MB / 334.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.665e-06/0.307, allocations: 0 / 435.3 MB, free: 3.945 MB / 334.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004852/0.3075, allocations: 79.91 kB / 435.4 MB, free: 3.867 MB / 334.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000615/0.3081, allocations: 275.9 kB / 435.7 MB, free: 3.555 MB / 334.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003593/0.3085, allocations: 78.45 kB / 435.8 MB, free: 3.469 MB / 334.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.3087, allocations: 44.95 kB / 435.8 MB, free: 3.422 MB / 334.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.233e-05/0.3087, allocations: 4 kB / 435.8 MB, free: 3.418 MB / 334.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.3088, allocations: 30.56 kB / 435.8 MB, free: 3.379 MB / 334.1 MB
Notification: Performance of pre-optimization done (n=5): time 1.523e-06/0.3088, allocations: 0 / 435.8 MB, free: 3.379 MB / 334.1 MB
Notification: Performance of matching and sorting (n=5): time 0.0008408/0.3096, allocations: 153.5 kB / 436 MB, free: 3.223 MB / 334.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.468e-05/0.3097, allocations: 59.41 kB / 436 MB, free: 3.152 MB / 334.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.3098, allocations: 109.8 kB / 436.2 MB, free: 3.035 MB / 334.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.3098, allocations: 25.7 kB / 436.2 MB, free: 3.004 MB / 334.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.879e-05/0.3099, allocations: 100 kB / 436.3 MB, free: 2.902 MB / 334.1 MB
Notification: Performance of collectInitialBindings (initialization): time 3.227e-05/0.3099, allocations: 11.91 kB / 436.3 MB, free: 2.891 MB / 334.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.797e-05/0.31, allocations: 13.72 kB / 436.3 MB, free: 2.871 MB / 334.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001912/0.3102, allocations: 326.8 kB / 436.6 MB, free: 2.543 MB / 334.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.3104, allocations: 35.97 kB / 436.7 MB, free: 2.508 MB / 334.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002192/0.3106, allocations: 39.95 kB / 436.7 MB, free: 2.469 MB / 334.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.000449/0.3111, allocations: 85.16 kB / 436.8 MB, free: 2.383 MB / 334.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3111, allocations: 0 / 436.8 MB, free: 2.383 MB / 334.1 MB
Notification: Performance of matching and sorting (n=5) (initialization): time 0.0005323/0.3116, allocations: 117.5 kB / 436.9 MB, free: 2.262 MB / 334.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.113e-05/0.3116, allocations: 6.812 kB / 436.9 MB, free: 2.258 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.3116, allocations: 0 / 436.9 MB, free: 2.258 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.3117, allocations: 0 / 436.9 MB, free: 2.258 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002077/0.3119, allocations: 23.97 kB / 436.9 MB, free: 2.234 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.3119, allocations: 0 / 436.9 MB, free: 2.234 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.312, allocations: 15.98 kB / 436.9 MB, free: 2.219 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.312, allocations: 4 kB / 436.9 MB, free: 2.215 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 0.0001182/0.3121, allocations: 113.8 kB / 437.1 MB, free: 2.094 MB / 334.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.699e-05/0.3122, allocations: 4 kB / 437.1 MB, free: 2.09 MB / 334.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005958/0.3128, allocations: 137.9 kB / 437.2 MB, free: 1.945 MB / 334.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.3128, allocations: 4 kB / 437.2 MB, free: 1.941 MB / 334.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3128, allocations: 3.938 kB / 437.2 MB, free: 1.938 MB / 334.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.3128, allocations: 0 / 437.2 MB, free: 1.938 MB / 334.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003071/0.3131, allocations: 168.5 kB / 437.4 MB, free: 1.73 MB / 334.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.3131, allocations: 0 / 437.4 MB, free: 1.73 MB / 334.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.3133, allocations: 23.97 kB / 437.4 MB, free: 1.707 MB / 334.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.414e-06/0.3133, allocations: 0 / 437.4 MB, free: 1.707 MB / 334.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.3133, allocations: 0 / 437.4 MB, free: 1.707 MB / 334.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3133, allocations: 0 / 437.4 MB, free: 1.707 MB / 334.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.3133, allocations: 4 kB / 437.4 MB, free: 1.703 MB / 334.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006257/0.3139, allocations: 223.3 kB / 437.6 MB, free: 1.469 MB / 334.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.3139, allocations: 7.953 kB / 437.6 MB, free: 1.461 MB / 334.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.402e-05/0.314, allocations: 0 / 437.6 MB, free: 1.461 MB / 334.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001885/0.3141, allocations: 11.98 kB / 437.6 MB, free: 1.449 MB / 334.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.3e-05/0.3142, allocations: 11.98 kB / 437.6 MB, free: 1.438 MB / 334.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.3142, allocations: 7.984 kB / 437.6 MB, free: 1.43 MB / 334.1 MB
Notification: Performance of sorting global known variables: time 6.938e-05/0.3143, allocations: 87.27 kB / 437.7 MB, free: 1.344 MB / 334.1 MB
Notification: Performance of sort global known variables: time 9.1e-08/0.3143, allocations: 0 / 437.7 MB, free: 1.344 MB / 334.1 MB
Notification: Performance of remove unused functions: time 0.0004389/0.3147, allocations: 15.94 kB / 437.8 MB, free: 1.328 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.0001661/0.3149, allocations: 95.25 kB / 437.8 MB, free: 1.227 MB / 334.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005491/0.3154, allocations: 95.84 kB / 437.9 MB, free: 1.133 MB / 334.1 MB
Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.3154, allocations: 0 / 437.9 MB, free: 1.133 MB / 334.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002667/0.3157, allocations: 48.11 kB / 438 MB, free: 1.086 MB / 334.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.3162, allocations: 8.328 kB / 438 MB, free: 1.078 MB / 334.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004817/0.3167, allocations: 170.2 kB / 438.2 MB, free: 0.8867 MB / 334.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003952/0.3171, allocations: 0.6846 MB / 438.8 MB, free: 180 kB / 334.1 MB
Notification: Performance of simCode: alias equations: time 5.156e-05/0.3171, allocations: 7.984 kB / 438.9 MB, free: 172 kB / 334.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.159e-05/0.3172, allocations: 11.44 kB / 438.9 MB, free: 160 kB / 334.1 MB
Notification: Performance of SimCode: time 3.51e-07/0.3172, allocations: 0 / 438.9 MB, free: 160 kB / 334.1 MB
Notification: Performance of Templates: time 0.004964/0.3221, allocations: 0.9478 MB / 439.8 MB, free: 15.21 MB / 350.1 MB
"
[Timeout remaining time 660]
make -j1 -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.makefile [Timeout 660]
(rm -f Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.sim & ./Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock.pipe 2>&1) [Timeout 480]
diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.ComplexBlocks.Examples.TestConversionBlock_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/ComplexBlocks/Examples/TestConversionBlock/TestConversionBlock.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_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: 4.634016130119562]