Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001884/0.001884, allocations: 113 kB / 19.04 MB, free: 3.254 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00208/0.00208, allocations: 197.9 kB / 22.22 MB, free: 72 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 225.6 MB / 250.8 MB, free: 13.34 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 55.91 kB / 368.7 MB, free: 10.12 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3131/0.3147, allocations: 52.14 MB / 420.9 MB, free: 15.06 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006564/0.3213, allocations: 3.995 MB / 424.9 MB, free: 11.05 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003486/0.3247, allocations: 1.457 MB / 426.3 MB, free: 9.582 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004888/0.3252, allocations: 11.94 kB / 426.3 MB, free: 9.57 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009908/0.3262, allocations: 242.8 kB / 426.6 MB, free: 9.332 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007773/0.327, allocations: 258.4 kB / 426.8 MB, free: 9.078 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008991/0.3279, allocations: 295 kB / 427.1 MB, free: 8.793 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.000882/0.3288, allocations: 0.7124 MB / 427.8 MB, free: 8.078 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002905/0.3291, allocations: 114.5 kB / 427.9 MB, free: 7.961 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000385/0.3295, allocations: 283 kB / 428.2 MB, free: 7.684 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004204/0.3299, allocations: 306.7 kB / 428.5 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 8.21e-05/0.33, allocations: 52 kB / 428.6 MB, free: 7.332 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002268/0.3302, allocations: 95.95 kB / 428.7 MB, free: 7.238 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001833/0.3304, allocations: 147.5 kB / 428.8 MB, free: 7.094 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003141/0.3307, allocations: 298.5 kB / 429.1 MB, free: 6.801 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009933/0.3317, allocations: 0.7155 MB / 429.8 MB, free: 6.086 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.3317, allocations: 0 / 429.8 MB, free: 6.086 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.3317, allocations: 0 / 429.8 MB, free: 6.086 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.959e-06/0.3317, allocations: 0 / 429.8 MB, free: 6.086 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: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001853/0.3335, allocations: 0.9563 MB / 430.8 MB, free: 5.07 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.39e-05/0.3336, allocations: 12.03 kB / 430.8 MB, free: 5.059 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001313/0.3337, allocations: 68.52 kB / 430.9 MB, free: 4.992 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006124/0.3343, allocations: 419.2 kB / 431.3 MB, free: 4.543 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.148e-05/0.3344, allocations: 29.38 kB / 431.3 MB, free: 4.516 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.557e-05/0.3345, allocations: 52.05 kB / 431.3 MB, free: 4.465 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008404/0.3353, allocations: 437.6 kB / 431.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.3353, allocations: 0 / 431.8 MB, free: 4.012 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.569e-05/0.3354, allocations: 20 kB / 431.8 MB, free: 3.992 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.324e-05/0.3354, allocations: 12 kB / 431.8 MB, free: 3.98 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006407/0.336, allocations: 311.7 kB / 432.1 MB, free: 3.676 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002706/0.3387, allocations: 1.703 MB / 433.8 MB, free: 1.875 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000751/0.3395, allocations: 331.4 kB / 434.1 MB, free: 1.539 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003146/0.3398, allocations: 156.8 kB / 434.3 MB, free: 1.383 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.054e-05/0.3399, allocations: 8 kB / 434.3 MB, free: 1.375 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004786/0.3403, allocations: 254.5 kB / 434.5 MB, free: 1.098 MB / 334.1 MB Notification: Performance of pre-optimization done (n=40): time 1.974e-06/0.3403, allocations: 3.938 kB / 434.5 MB, free: 1.094 MB / 334.1 MB Notification: Performance of matching and sorting (n=40): time 0.002376/0.3427, allocations: 1.014 MB / 435.6 MB, free: 15.98 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001337/0.3429, allocations: 191.8 kB / 435.7 MB, free: 15.76 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000691/0.3435, allocations: 0.4979 MB / 436.2 MB, free: 15.25 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.06e-05/0.3436, allocations: 33.7 kB / 436.3 MB, free: 15.21 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002195/0.3438, allocations: 260.7 kB / 436.5 MB, free: 14.95 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001222/0.3439, allocations: 130.9 kB / 436.7 MB, free: 14.82 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001422/0.3441, allocations: 78.12 kB / 436.7 MB, free: 14.74 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002412/0.3443, allocations: 358.8 kB / 437.1 MB, free: 14.38 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.3446, allocations: 116.8 kB / 437.2 MB, free: 14.27 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003679/0.345, allocations: 213.3 kB / 437.4 MB, free: 14.02 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000614/0.3456, allocations: 269.3 kB / 437.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3456, allocations: 0 / 437.7 MB, free: 13.75 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009257/0.3465, allocations: 484.9 kB / 438.1 MB, free: 13.26 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.449e-05/0.3465, allocations: 8 kB / 438.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.3465, allocations: 0 / 438.2 MB, free: 13.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000569/0.3471, allocations: 159.4 kB / 438.3 MB, free: 13.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002734/0.3474, allocations: 43.92 kB / 438.4 MB, free: 13.04 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006412/0.3538, allocations: 6.655 MB / 445 MB, free: 5.832 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004644/0.3543, allocations: 56.03 kB / 445.1 MB, free: 5.777 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.262e-05/0.3543, allocations: 8 kB / 445.1 MB, free: 5.77 MB / 350.1 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.0003258/0.3546, allocations: 196.1 kB / 445.3 MB, free: 5.57 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.847e-05/0.3547, allocations: 59.61 kB / 445.3 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/0.3558, allocations: 497.3 kB / 445.8 MB, free: 5.008 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.3558, allocations: 4 kB / 445.8 MB, free: 5.004 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-06/0.3558, allocations: 4 kB / 445.8 MB, free: 5 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.3558, allocations: 7.984 kB / 445.8 MB, free: 4.992 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006499/0.3565, allocations: 493.1 kB / 446.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3565, allocations: 0 / 446.3 MB, free: 4.461 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001373/0.3566, allocations: 23.98 kB / 446.3 MB, free: 4.438 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000454/0.357, allocations: 163.2 kB / 446.5 MB, free: 4.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.67e-05/0.3571, allocations: 4 kB / 446.5 MB, free: 4.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005777/0.3629, allocations: 6.36 MB / 452.8 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.3629, allocations: 4.125 kB / 452.9 MB, free: 13.34 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.3639, allocations: 0.5004 MB / 453.4 MB, free: 12.81 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.3641, allocations: 156.7 kB / 453.5 MB, free: 12.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.424e-05/0.3642, allocations: 11.98 kB / 453.5 MB, free: 12.62 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002758/0.3645, allocations: 35.92 kB / 453.6 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.3646, allocations: 47.92 kB / 453.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.3647, allocations: 12 kB / 453.6 MB, free: 12.53 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005118/0.3652, allocations: 359.1 kB / 454 MB, free: 12.18 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3652, allocations: 0 / 454 MB, free: 12.18 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008751/0.366, allocations: 179.7 kB / 454.1 MB, free: 12 MB / 366.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: 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 (24): * Single equations (assignments): 17 * 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.001593/0.3676, allocations: 435.1 kB / 454.6 MB, free: 11.73 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001321/0.369, allocations: 0.7835 MB / 455.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.369, allocations: 0 / 455.3 MB, free: 10.89 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008191/0.3698, allocations: 0.6392 MB / 456 MB, free: 10.2 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005663/0.3703, allocations: 117.5 kB / 456.1 MB, free: 10.09 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002102/0.3724, allocations: 1.001 MB / 457.1 MB, free: 9.062 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005791/0.373, allocations: 0.8595 MB / 458 MB, free: 8.176 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.3732, allocations: 48.16 kB / 458 MB, free: 8.129 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.3733, allocations: 39.44 kB / 458 MB, free: 8.09 MB / 366.1 MB Notification: Performance of SimCode: time 9.92e-07/0.3733, allocations: 0 / 458 MB, free: 8.09 MB / 366.1 MB Notification: Performance of Templates: time 0.01879/0.3921, allocations: 9.852 MB / 467.9 MB, free: 14.34 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.227534329518676]