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] "[:1:22-1:33:writable] Warning: Modelica only supports 32-bit signed integers! Transforming: 13743895347 into a real Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0006112/0.0006112, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.0007676/0.001379, allocations: 0 / 0, free: 0 / 0 " [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.0006188/0.0006188, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.000741/0.00136, allocations: 0 / 0, free: 0 / 0 " [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 0.2402/0.2402, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInstanceAPI.mkTop(): time 0.05208/0.2922, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 180] 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: simulate(Modelica.ComplexBlocks.Examples.TestConversionBlock,startTime=0,stopTime=1.01,tolerance=1e-06,numberOfIntervals=1010,outputFormat="mat",variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS") simulate(Modelica.ComplexBlocks.Examples.TestConversionBlock,startTime=0,stopTime=1.01,tolerance=1e-06,numberOfIntervals=1010,outputFormat="mat",variableFilter="time|len.y|phi.y",fileNamePrefix="Modelica_4.1.0_Modelica.ComplexBlocks.Examples.TestConversionBlock",simflags="-abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS") [Timeout 900] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - Absyn->SCode: time 3.247e-05/3.374e-05, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instantiate(Modelica.ComplexBlocks.Examples.TestConversionBlock): time 0.001543/0.001577, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.instExpressions: time 0.000772/0.002349, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFInst.updateImplicitVariability: time 2.075e-05/0.002369, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeComponents: time 6.481e-05/0.002434, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeBindings: time 3.52e-05/0.002469, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFTyping.typeClassSections: time 0.0001015/0.002571, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.flatten: time 7.097e-05/0.002642, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.resolveConnections: time 5.28e-05/0.002695, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFEvalConstants.evaluate: time 0.0001577/0.002852, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFSimplifyModel.simplify: time 3.717e-05/0.002889, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFPackage.collectConstants: time 1.609e-05/0.002906, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFFlatten.collectFunctions: time 4.195e-05/0.002948, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFScalarize.scalarize: time 1.537e-05/0.002963, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFVerifyModel.verify: time 1.303e-05/0.002976, allocations: 0 / 0, free: 0 / 0 Notification: Performance of NFConvertDAE.convert: time 9.271e-05/0.003069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd - DAE generated: time 1.858e-05/0.003087, allocations: 0 / 0, free: 0 / 0 Notification: Performance of FrontEnd: time 1.323e-06/0.003089, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Transformations before backend: time 1.477e-05/0.003103, allocations: 0 / 0, free: 0 / 0 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.0008848/0.003988, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare preOptimizeDAE: time 6.593e-05/0.004054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt normalInlineFunction (simulation): time 5.713e-05/0.004111, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001006/0.004212, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.004234, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt expandDerOperator (simulation): time 2.455e-05/0.004259, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001581/0.004417, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt findStateOrder (simulation): time 9.958e-06/0.004427, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.159e-05/0.004449, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.004454, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeEqualRHS (simulation): time 5.258e-05/0.004507, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002381/0.004745, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt comSubExp (simulation): time 9.993e-05/0.004845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt resolveLoops (simulation): time 2.293e-05/0.004868, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.004887, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.004906, allocations: 0 / 0, free: 0 / 0 Notification: Performance of pre-optimization done (n=5): time 6.793e-06/0.004912, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=5): time 0.0001104/0.005023, allocations: 0 / 0, free: 0 / 0 Notification: Performance of inlineWhenForInitialization (initialization): time 2.689e-05/0.00505, allocations: 0 / 0, free: 0 / 0 Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.584e-05/0.005086, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectPreVariables (initialization): time 3.093e-05/0.005117, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialEqns (initialization): time 1.461e-05/0.005131, allocations: 0 / 0, free: 0 / 0 Notification: Performance of collectInitialBindings (initialization): time 1.53e-05/0.005146, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.005176, allocations: 0 / 0, free: 0 / 0 Notification: Performance of setup shared object (initialization): time 1.773e-05/0.005193, allocations: 0 / 0, free: 0 / 0 Notification: Performance of preBalanceInitialSystem (initialization): time 1.306e-05/0.005206, allocations: 0 / 0, free: 0 / 0 Notification: Performance of partitionIndependentBlocks (initialization): time 9.648e-06/0.005216, allocations: 0 / 0, free: 0 / 0 Notification: Performance of analyzeInitialSystem (initialization): time 2.76e-05/0.005244, allocations: 0 / 0, free: 0 / 0 Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-06/0.005245, allocations: 0 / 0, free: 0 / 0 Notification: Performance of matching and sorting (n=5) (initialization): time 5.899e-05/0.005304, allocations: 0 / 0, free: 0 / 0 Notification: Performance of prepare postOptimizeDAE: time 1.065e-05/0.005314, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.005317, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (initialization): time 2.049e-05/0.005338, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.515e-05/0.005393, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.005399, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.118e-05/0.00543, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.005437, allocations: 0 / 0, free: 0 / 0 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 4.519e-05/0.005483, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt lateInlineFunction (simulation): time 1.843e-05/0.005501, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001184/0.00562, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-06/0.005622, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt constantLinearSystem (simulation): time 9.297e-06/0.005631, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.005634, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.005774, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.005776, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.595e-05/0.005822, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt removeConstants (simulation): time 1.157e-05/0.005833, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.005836, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.005843, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.005845, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.143e-06/0.005846, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt symbolicJacobian (simulation): time 7.8e-05/0.005924, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.162e-05/0.005966, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.092e-05/0.006007, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.006049, allocations: 0 / 0, free: 0 / 0 Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.127e-06/0.006053, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sorting global known variables: time 1.376e-05/0.006067, allocations: 0 / 0, free: 0 / 0 Notification: Performance of sort global known variables: time 1.523e-06/0.006069, allocations: 0 / 0, free: 0 / 0 Notification: Performance of remove unused functions: time 0.000175/0.006244, allocations: 0 / 0, free: 0 / 0 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.000132/0.006376, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created initialization part: time 0.0001051/0.006481, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.006487, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created simulation system equations: time 4.479e-05/0.006531, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001991/0.006731, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000323/0.007054, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: some other stuff during SimCode phase: time 2.743e-05/0.007081, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: alias equations: time 1.896e-05/0.0071, allocations: 0 / 0, free: 0 / 0 Notification: Performance of simCode: all other stuff during SimCode phase: time 8.467e-05/0.007185, allocations: 0 / 0, free: 0 / 0 Notification: Performance of SimCode: time 1.554e-05/0.0072, allocations: 0 / 0, free: 0 / 0 Notification: Performance of Templates: time 0.001088/0.008288, allocations: 0 / 0, free: 0 / 0 " [Timeout remaining time 900] diffSimulationResults("Modelica_4.1.0_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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 0.7668309209402651]