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.002006/0.002006, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.002617/0.002617, allocations: 205.9 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.531/1.531, allocations: 230.6 MB / 257.5 MB, free: 7.793 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+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 0.001628/0.001628, allocations: 47.92 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3075, allocations: 53.36 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005869/0.3134, allocations: 3.655 MB / 435.2 MB, free: 3.023 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.002893/0.3163, allocations: 1.558 MB / 436.8 MB, free: 1.461 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002206/0.3165, allocations: 11.94 kB / 436.8 MB, free: 1.449 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007598/0.3172, allocations: 250.7 kB / 437.1 MB, free: 1.203 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006675/0.3179, allocations: 302.2 kB / 437.4 MB, free: 0.9062 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006014/0.3185, allocations: 274.3 kB / 437.6 MB, free: 0.6406 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008928/0.3194, allocations: 0.7242 MB / 438.3 MB, free: 15.91 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.3197, allocations: 121.4 kB / 438.5 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004848/0.3202, allocations: 294.8 kB / 438.8 MB, free: 15.5 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003959/0.3206, allocations: 310.7 kB / 439.1 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.858e-05/0.3207, allocations: 52 kB / 439.1 MB, free: 15.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002954/0.321, allocations: 103.9 kB / 439.2 MB, free: 15.04 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001694/0.3212, allocations: 155.5 kB / 439.4 MB, free: 14.89 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000264/0.3214, allocations: 238.8 kB / 439.6 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008887/0.3223, allocations: 0.7299 MB / 440.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.3223, allocations: 0 / 440.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.412e-06/0.3223, allocations: 0 / 440.3 MB, free: 13.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.3223, allocations: 0 / 440.3 MB, free: 13.93 MB / 350.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.001781/0.3241, allocations: 0.8926 MB / 441.2 MB, free: 13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.619e-05/0.3241, allocations: 8.031 kB / 441.2 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002212/0.3244, allocations: 80.5 kB / 441.3 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006189/0.325, allocations: 372.2 kB / 441.7 MB, free: 12.52 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.514e-05/0.325, allocations: 29.38 kB / 441.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.797e-05/0.3251, allocations: 44.12 kB / 441.7 MB, free: 12.45 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008248/0.3259, allocations: 0.523 MB / 442.3 MB, free: 11.88 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.361e-05/0.3259, allocations: 7.938 kB / 442.3 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.316e-05/0.326, allocations: 16 kB / 442.3 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.046e-05/0.326, allocations: 8 kB / 442.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006564/0.3266, allocations: 315.8 kB / 442.6 MB, free: 11.54 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002379/0.329, allocations: 1.482 MB / 444.1 MB, free: 9.977 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006714/0.3297, allocations: 331.1 kB / 444.4 MB, free: 9.645 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003295/0.33, allocations: 168.7 kB / 444.6 MB, free: 9.48 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.3301, allocations: 8 kB / 444.6 MB, free: 9.473 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005423/0.3306, allocations: 365.2 kB / 444.9 MB, free: 9.062 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.914e-06/0.3306, allocations: 3.938 kB / 444.9 MB, free: 9.059 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002051/0.3327, allocations: 0.709 MB / 445.7 MB, free: 8.332 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001055/0.3328, allocations: 166.2 kB / 445.8 MB, free: 8.133 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006083/0.3334, allocations: 0.49 MB / 446.3 MB, free: 7.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.037e-05/0.3334, allocations: 33.7 kB / 446.3 MB, free: 7.598 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002241/0.3336, allocations: 256.7 kB / 446.6 MB, free: 7.34 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001761/0.3338, allocations: 134.9 kB / 446.7 MB, free: 7.207 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001317/0.3339, allocations: 78.12 kB / 446.8 MB, free: 7.125 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000185/0.3341, allocations: 358.8 kB / 447.1 MB, free: 6.766 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002825/0.3344, allocations: 120.8 kB / 447.3 MB, free: 6.648 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004104/0.3348, allocations: 332.9 kB / 447.6 MB, free: 6.262 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005068/0.3353, allocations: 281.1 kB / 447.9 MB, free: 5.977 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.3353, allocations: 8 kB / 447.9 MB, free: 5.969 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008619/0.3362, allocations: 477 kB / 448.3 MB, free: 5.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.3362, allocations: 4 kB / 448.3 MB, free: 5.48 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.394e-06/0.3362, allocations: 4 kB / 448.3 MB, free: 5.477 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005083/0.3367, allocations: 155.4 kB / 448.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002196/0.3369, allocations: 47.91 kB / 448.5 MB, free: 5.266 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005618/0.3426, allocations: 6.134 MB / 454.7 MB, free: 14.73 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003493/0.3429, allocations: 47.78 kB / 454.7 MB, free: 14.68 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.944e-05/0.3429, allocations: 16 kB / 454.7 MB, free: 14.67 MB / 366.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.0002624/0.3432, allocations: 191.8 kB / 454.9 MB, free: 14.47 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.506e-05/0.3433, allocations: 55.67 kB / 455 MB, free: 14.42 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001052/0.3443, allocations: 0.4969 MB / 455.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.3443, allocations: 4 kB / 455.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.3443, allocations: 0 / 455.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.3443, allocations: 0 / 455.5 MB, free: 13.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004971/0.3448, allocations: 353 kB / 455.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.3448, allocations: 0 / 455.8 MB, free: 13.52 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001411/0.345, allocations: 35.91 kB / 455.9 MB, free: 13.49 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004202/0.3454, allocations: 155.3 kB / 456 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.734e-05/0.3454, allocations: 11.98 kB / 456 MB, free: 13.31 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005424/0.3508, allocations: 5.839 MB / 461.9 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3509, allocations: 0 / 461.9 MB, free: 7.066 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.3519, allocations: 0.5114 MB / 462.4 MB, free: 6.523 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001986/0.3521, allocations: 83.55 kB / 462.5 MB, free: 6.441 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.255e-05/0.3522, allocations: 8 kB / 462.5 MB, free: 6.434 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.3524, allocations: 27.97 kB / 462.5 MB, free: 6.406 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001511/0.3526, allocations: 55.91 kB / 462.5 MB, free: 6.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.956e-05/0.3526, allocations: 12 kB / 462.6 MB, free: 6.34 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000438/0.353, allocations: 363 kB / 462.9 MB, free: 5.988 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.353, allocations: 0 / 462.9 MB, free: 5.988 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008513/0.3539, allocations: 175.7 kB / 463.1 MB, free: 5.816 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 (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.001653/0.3555, allocations: 456.1 kB / 463.5 MB, free: 5.543 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001245/0.3568, allocations: 0.7834 MB / 464.3 MB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.3568, allocations: 0 / 464.3 MB, free: 4.707 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007635/0.3575, allocations: 0.6468 MB / 465 MB, free: 4.008 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005502/0.3581, allocations: 112.5 kB / 465.1 MB, free: 3.902 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002074/0.3602, allocations: 0.9828 MB / 466.1 MB, free: 2.891 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/0.3605, allocations: 263.4 kB / 466.3 MB, free: 2.602 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001653/0.3606, allocations: 51.33 kB / 466.4 MB, free: 2.551 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.896e-05/0.3607, allocations: 31.44 kB / 466.4 MB, free: 2.52 MB / 366.1 MB Notification: Performance of SimCode: time 5.91e-07/0.3607, allocations: 0 / 466.4 MB, free: 2.52 MB / 366.1 MB Notification: Performance of Templates: time 0.01809/0.3788, allocations: 9.755 MB / 476.1 MB, free: 8.906 MB / 382.1 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.160246491897851]