Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.0008869/0.0008869, allocations: 87.62 kB / 21.43 MB, free: 3.133 MB / 18.57 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.003606/0.003606, allocations: 160.7 kB / 24.7 MB, free: 9.41 MB / 18.57 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 0.8313/0.8313, allocations: 177.1 MB / 205 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] 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: translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 325.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.788e-05/1.931e-05, allocations: 2.281 kB / 325.8 MB, free: 15.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.003431/0.003451, allocations: 3.671 MB / 329.5 MB, free: 11.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002112/0.005563, allocations: 1.558 MB / 331.1 MB, free: 10.02 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002397/0.005802, allocations: 11.94 kB / 331.1 MB, free: 10.01 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000611/0.006413, allocations: 258 kB / 331.3 MB, free: 9.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004783/0.006892, allocations: 317.9 kB / 331.6 MB, free: 9.449 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004447/0.007336, allocations: 271.2 kB / 331.9 MB, free: 9.184 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.000803/0.008139, allocations: 0.7471 MB / 332.7 MB, free: 8.434 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001804/0.00832, allocations: 109.5 kB / 332.8 MB, free: 8.328 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004084/0.008728, allocations: 415 kB / 333.2 MB, free: 7.922 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00023/0.008958, allocations: 235.3 kB / 333.4 MB, free: 7.691 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 5.735e-05/0.009016, allocations: 48 kB / 333.4 MB, free: 7.645 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.009183, allocations: 115.8 kB / 333.6 MB, free: 7.531 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000101/0.009284, allocations: 147.4 kB / 333.7 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001405/0.009424, allocations: 199.5 kB / 333.9 MB, free: 7.191 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005454/0.00997, allocations: 0.7398 MB / 334.6 MB, free: 6.449 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.694e-06/0.009972, allocations: 4 kB / 334.6 MB, free: 6.445 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.42e-07/0.009972, allocations: 0 / 334.6 MB, free: 6.445 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.041e-06/0.009978, allocations: 0 / 334.6 MB, free: 6.445 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.0009454/0.01092, allocations: 0.8877 MB / 335.5 MB, free: 5.523 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.01096, allocations: 8.031 kB / 335.5 MB, free: 5.516 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001444/0.0111, allocations: 84.45 kB / 335.6 MB, free: 5.434 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003628/0.01146, allocations: 355.6 kB / 336 MB, free: 5.059 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.318e-05/0.01149, allocations: 33.38 kB / 336 MB, free: 5.027 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.385e-05/0.01152, allocations: 36.38 kB / 336 MB, free: 4.992 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004921/0.01201, allocations: 0.5313 MB / 336.6 MB, free: 4.414 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.01203, allocations: 7.922 kB / 336.6 MB, free: 4.406 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.705e-05/0.01205, allocations: 16 kB / 336.6 MB, free: 4.391 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.01206, allocations: 8 kB / 336.6 MB, free: 4.383 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003813/0.01244, allocations: 315.8 kB / 336.9 MB, free: 4.078 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00135/0.01379, allocations: 1.487 MB / 338.4 MB, free: 2.508 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004226/0.01421, allocations: 341.5 kB / 338.7 MB, free: 2.168 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001861/0.0144, allocations: 160.7 kB / 338.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.054e-05/0.01442, allocations: 7.938 kB / 338.9 MB, free: 2 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004089/0.01483, allocations: 373.2 kB / 339.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.373e-06/0.01483, allocations: 0 / 339.3 MB, free: 1.582 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.001125/0.01596, allocations: 0.7168 MB / 340 MB, free: 0.8477 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.697e-05/0.01601, allocations: 158.2 kB / 340.1 MB, free: 0.6562 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003502/0.01636, allocations: 0.494 MB / 340.6 MB, free: 152 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.323e-05/0.01639, allocations: 29.7 kB / 340.7 MB, free: 116 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000135/0.01652, allocations: 260.8 kB / 340.9 MB, free: 15.85 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.093e-05/0.01658, allocations: 122.9 kB / 341 MB, free: 15.73 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.708e-05/0.01666, allocations: 74.19 kB / 341.1 MB, free: 15.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.01676, allocations: 366.7 kB / 341.5 MB, free: 15.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001584/0.01692, allocations: 125 kB / 341.6 MB, free: 15.16 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002287/0.01715, allocations: 341.5 kB / 341.9 MB, free: 14.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002925/0.01744, allocations: 269.3 kB / 342.2 MB, free: 14.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.01744, allocations: 4 kB / 342.2 MB, free: 14.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0004929/0.01794, allocations: 477.1 kB / 342.6 MB, free: 14.01 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.01795, allocations: 4 kB / 342.6 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.01796, allocations: 4 kB / 342.7 MB, free: 14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003056/0.01827, allocations: 163.3 kB / 342.8 MB, free: 13.83 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001077/0.01837, allocations: 39.97 kB / 342.9 MB, free: 13.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003255/0.02163, allocations: 6.119 MB / 349 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001563/0.02179, allocations: 60.02 kB / 349 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.0218, allocations: 16 kB / 349 MB, free: 7.195 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($PRE.booleanStep1.combiTimeTable.nextTimeEvent,$whenCondition2,$whenCondition1,booleanPulse.pulseStart,$PRE.booleanPulse.pulseStart,booleanPulse.y,IdealGTOThyristor2.off,IdealThyristor2.off,$PRE.IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEventScaled,$PRE.booleanStep1.combiTimeTable.nextTimeEventScaled,booleanStep1.combiTimeTable.nextTimeEvent,IdealGTOThyristor1.off,IdealThyristor1.fire,IdealThyristor1.off,$PRE.IdealThyristor1.off) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0001557/0.02196, allocations: 191.7 kB / 349.2 MB, free: 7 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.179e-05/0.022, allocations: 51.67 kB / 349.3 MB, free: 6.949 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005796/0.02258, allocations: 0.4931 MB / 349.8 MB, free: 6.438 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.876e-06/0.02258, allocations: 4 kB / 349.8 MB, free: 6.434 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.02258, allocations: 3.938 kB / 349.8 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.4e-06/0.02259, allocations: 0 / 349.8 MB, free: 6.43 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.02287, allocations: 364.9 kB / 350.1 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.02287, allocations: 0 / 350.1 MB, free: 6.043 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.564e-05/0.02294, allocations: 27.92 kB / 350.2 MB, free: 6.016 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002317/0.02317, allocations: 159.3 kB / 350.3 MB, free: 5.848 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.748e-05/0.02319, allocations: 8 kB / 350.3 MB, free: 5.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002732/0.02592, allocations: 5.825 MB / 356.2 MB, free: 15.61 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.933e-06/0.02592, allocations: 4.031 kB / 356.2 MB, free: 15.6 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005396/0.02646, allocations: 0.5113 MB / 356.7 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001037/0.02656, allocations: 83.61 kB / 356.8 MB, free: 14.98 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.016e-05/0.02659, allocations: 16 kB / 356.8 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001187/0.02671, allocations: 27.97 kB / 356.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.539e-05/0.02681, allocations: 59.84 kB / 356.9 MB, free: 14.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.95e-05/0.02683, allocations: 12 kB / 356.9 MB, free: 14.86 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002421/0.02707, allocations: 355.1 kB / 357.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of sort global known variables: time 6e-08/0.02707, allocations: 0 / 357.2 MB, free: 14.52 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000456/0.02753, allocations: 167.8 kB / 357.4 MB, free: 14.36 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$whenCondition1,IdealThyristor1.off,IdealThyristor1.fire,IdealGTOThyristor1.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,IdealGTOThyristor2.off,booleanPulse.y,booleanPulse.pulseStart) * Number of discrete states: 4 (IdealThyristor1.off,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent,booleanStep1.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,4), (1,4), (1,4), (1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007173/0.02824, allocations: 471.9 kB / 357.8 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0006657/0.02891, allocations: 0.7795 MB / 358.6 MB, free: 13.24 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.02891, allocations: 0 / 358.6 MB, free: 13.24 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000359/0.02927, allocations: 0.6467 MB / 359.3 MB, free: 12.54 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.02958, allocations: 114.5 kB / 359.4 MB, free: 12.44 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.03076, allocations: 0.9936 MB / 360.4 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.03109, allocations: 271.4 kB / 360.6 MB, free: 11.12 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/0.03115, allocations: 36.44 kB / 360.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of SimCode: time 6.41e-07/0.03115, allocations: 0 / 360.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of Templates: time 0.0103/0.04145, allocations: 14.95 MB / 375.6 MB, free: 12.14 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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: 5.89297282230109]