Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.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.00159/0.00159, allocations: 119.3 kB / 21.18 MB, free: 0.6289 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.001826/0.001826, allocations: 206.3 kB / 24.46 MB, free: 3.902 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.464/1.464, allocations: 230.5 MB / 258.1 MB, free: 8.129 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.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources") translateModel(Modelica.Blocks.Examples.ShowLogicalSources,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5018,variableFilter="time|table.y",fileNamePrefix="Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources") [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.001989/0.001989, allocations: 71.83 kB / 378.7 MB, free: 2.906 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3425/0.3445, allocations: 53.31 MB / 432 MB, free: 7.371 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.ShowLogicalSources): time 0.003764/0.3482, allocations: 1.872 MB / 433.9 MB, free: 5.488 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002276/0.3505, allocations: 1.2 MB / 435.1 MB, free: 4.281 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.3506, allocations: 4 kB / 435.1 MB, free: 4.277 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007321/0.3514, allocations: 171.5 kB / 435.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004669/0.3518, allocations: 167.3 kB / 435.4 MB, free: 3.945 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004258/0.3523, allocations: 147.2 kB / 435.6 MB, free: 3.805 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002938/0.3526, allocations: 215.3 kB / 435.8 MB, free: 3.594 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.3527, allocations: 17.53 kB / 435.8 MB, free: 3.578 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001322/0.3528, allocations: 83.69 kB / 435.9 MB, free: 3.496 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.353, allocations: 99.53 kB / 436 MB, free: 3.398 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.826e-05/0.353, allocations: 12 kB / 436 MB, free: 3.387 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001561/0.3531, allocations: 55.95 kB / 436.1 MB, free: 3.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.479e-05/0.3532, allocations: 47.84 kB / 436.1 MB, free: 3.285 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001045/0.3533, allocations: 83.42 kB / 436.2 MB, free: 3.203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003966/0.3537, allocations: 228.6 kB / 436.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.3537, allocations: 0 / 436.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3537, allocations: 0 / 436.4 MB, free: 2.984 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.496e-06/0.3537, allocations: 0 / 436.4 MB, free: 2.984 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.001095/0.3548, allocations: 0.5349 MB / 436.9 MB, free: 2.395 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3549, allocations: 8.031 kB / 437 MB, free: 2.387 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.396e-05/0.355, allocations: 24.8 kB / 437 MB, free: 2.363 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004166/0.3554, allocations: 270.9 kB / 437.2 MB, free: 2.059 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.3554, allocations: 4.375 kB / 437.2 MB, free: 2.055 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.3554, allocations: 12.12 kB / 437.3 MB, free: 2.043 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002705/0.3557, allocations: 113.9 kB / 437.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.3557, allocations: 0 / 437.4 MB, free: 1.91 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.8e-05/0.3557, allocations: 8 kB / 437.4 MB, free: 1.902 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3557, allocations: 4 kB / 437.4 MB, free: 1.898 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001551/0.3559, allocations: 51.91 kB / 437.4 MB, free: 1.848 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008014/0.3567, allocations: 0.6027 MB / 438 MB, free: 1.184 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003032/0.357, allocations: 123.9 kB / 438.2 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001151/0.3571, allocations: 46.5 kB / 438.2 MB, free: 0.9805 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.563e-05/0.3571, allocations: 8 kB / 438.2 MB, free: 0.9727 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002526/0.3574, allocations: 117.9 kB / 438.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of pre-optimization done (n=12): time 1.282e-06/0.3574, allocations: 0 / 438.3 MB, free: 0.8359 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.0005196/0.3579, allocations: 181.8 kB / 438.5 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.577e-05/0.358, allocations: 136.6 kB / 438.6 MB, free: 500 kB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003515/0.3583, allocations: 293 kB / 438.9 MB, free: 200 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.3584, allocations: 33.69 kB / 439 MB, free: 160 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.3585, allocations: 128.3 kB / 439.1 MB, free: 28 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.725e-05/0.3586, allocations: 35.89 kB / 439.1 MB, free: 15.99 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.3e-05/0.3586, allocations: 29.7 kB / 439.1 MB, free: 15.95 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001645/0.3588, allocations: 338.8 kB / 439.5 MB, free: 15.61 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.747e-05/0.3589, allocations: 35.98 kB / 439.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001427/0.359, allocations: 77.98 kB / 439.6 MB, free: 15.48 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001976/0.3592, allocations: 100.2 kB / 439.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3592, allocations: 0 / 439.7 MB, free: 15.37 MB / 350.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002897/0.3595, allocations: 145.5 kB / 439.8 MB, free: 15.22 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3595, allocations: 4 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.3596, allocations: 0 / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.3596, allocations: 4 kB / 439.8 MB, free: 15.21 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.773e-05/0.3597, allocations: 15.94 kB / 439.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.124e-06/0.3597, allocations: 0 / 439.9 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.3598, allocations: 20.02 kB / 439.9 MB, free: 15.18 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.567e-05/0.3598, allocations: 8 kB / 439.9 MB, free: 15.17 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition2,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,$whenCondition1,booleanExpression.y,pulse.pulseStart,$PRE.pulse.pulseStart,pulse.y,step.y,sample.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.0001578/0.36, allocations: 155.3 kB / 440 MB, free: 15.01 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.149e-05/0.36, allocations: 23.86 kB / 440.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002545/0.3603, allocations: 111.4 kB / 440.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.177e-06/0.3603, allocations: 7.984 kB / 440.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3603, allocations: 0 / 440.2 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3603, allocations: 11.92 kB / 440.2 MB, free: 14.85 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002936/0.3606, allocations: 245.5 kB / 440.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3606, allocations: 0 / 440.4 MB, free: 14.56 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.997e-05/0.3606, allocations: 8 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.3606, allocations: 0 / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.3606, allocations: 4 kB / 440.4 MB, free: 14.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.3606, allocations: 3.938 kB / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.3606, allocations: 0 / 440.4 MB, free: 14.54 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.361, allocations: 186.5 kB / 440.6 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.505e-05/0.361, allocations: 101 kB / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.235e-05/0.3611, allocations: 0 / 440.7 MB, free: 14.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001016/0.3612, allocations: 11.98 kB / 440.7 MB, free: 14.21 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.273e-05/0.3612, allocations: 19.92 kB / 440.7 MB, free: 14.19 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.665e-05/0.3613, allocations: 4 kB / 440.8 MB, free: 14.19 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002414/0.3615, allocations: 232.4 kB / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3615, allocations: 0 / 441 MB, free: 13.96 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002646/0.3618, allocations: 35.94 kB / 441 MB, free: 13.93 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,$whenCondition1,step.y,pulse.y,pulse.pulseStart,booleanExpression.y,sample.y) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00155/0.3633, allocations: 417.5 kB / 441.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002959/0.3636, allocations: 87.89 kB / 441.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3636, allocations: 0 / 441.5 MB, free: 13.6 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001344/0.3638, allocations: 52.11 kB / 441.6 MB, free: 13.55 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003779/0.3641, allocations: 58.97 kB / 441.6 MB, free: 13.5 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007991/0.3649, allocations: 394.4 kB / 442 MB, free: 13.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004078/0.3653, allocations: 0.7398 MB / 442.7 MB, free: 12.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.451e-05/0.3654, allocations: 23.44 kB / 442.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of SimCode: time 6.11e-07/0.3654, allocations: 0 / 442.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of Templates: time 0.006065/0.3715, allocations: 2.947 MB / 445.7 MB, free: 9.348 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.sim & ./Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/ShowLogicalSources/ShowLogicalSources.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Blocks.Examples.ShowLogicalSources.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: 7.8305723229423165]