Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.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.001985/0.001985, allocations: 107.2 kB / 20.44 MB, free: 1.207 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.002417/0.002417, allocations: 216.9 kB / 23.73 MB, free: 4.406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.525/1.525, allocations: 230.5 MB / 257.4 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.89 kB / 378.2 MB, free: 2.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2764/0.2785, allocations: 53.4 MB / 431.6 MB, free: 6.508 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.00571/0.2842, allocations: 3.659 MB / 435.3 MB, free: 2.832 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003134/0.2873, allocations: 1.563 MB / 436.9 MB, free: 1.266 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000259/0.2876, allocations: 11.94 kB / 436.9 MB, free: 1.254 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008191/0.2884, allocations: 254.8 kB / 437.1 MB, free: 1.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006868/0.2891, allocations: 306.1 kB / 437.4 MB, free: 0.7031 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006405/0.2897, allocations: 266.5 kB / 437.7 MB, free: 456 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008026/0.2905, allocations: 0.7359 MB / 438.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002493/0.2908, allocations: 109.3 kB / 438.5 MB, free: 15.59 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004218/0.2912, allocations: 295 kB / 438.8 MB, free: 15.3 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003702/0.2915, allocations: 286.7 kB / 439.1 MB, free: 15.02 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.288e-05/0.2916, allocations: 51.94 kB / 439.1 MB, free: 14.97 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002336/0.2919, allocations: 104 kB / 439.2 MB, free: 14.87 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001608/0.292, allocations: 155.4 kB / 439.4 MB, free: 14.72 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002658/0.2923, allocations: 238.8 kB / 439.6 MB, free: 14.48 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008779/0.2932, allocations: 0.731 MB / 440.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.2932, allocations: 0 / 440.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.2932, allocations: 0 / 440.4 MB, free: 13.75 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.107e-06/0.2932, allocations: 4 kB / 440.4 MB, free: 13.75 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.001732/0.2949, allocations: 0.8965 MB / 441.3 MB, free: 12.82 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2949, allocations: 11.98 kB / 441.3 MB, free: 12.8 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.2952, allocations: 84.5 kB / 441.4 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006141/0.2958, allocations: 348.3 kB / 441.7 MB, free: 12.36 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.814e-05/0.2958, allocations: 29.38 kB / 441.7 MB, free: 12.33 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.231e-05/0.2959, allocations: 40.38 kB / 441.8 MB, free: 12.29 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008482/0.2967, allocations: 0.5349 MB / 442.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.72e-05/0.2968, allocations: 0 / 442.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/0.2968, allocations: 20 kB / 442.3 MB, free: 11.69 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.309e-05/0.2968, allocations: 8 kB / 442.3 MB, free: 11.68 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006678/0.2975, allocations: 315.8 kB / 442.6 MB, free: 11.38 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002574/0.3001, allocations: 1.49 MB / 444.1 MB, free: 9.801 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007099/0.3008, allocations: 331.8 kB / 444.4 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003301/0.3011, allocations: 153.4 kB / 444.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.924e-05/0.3011, allocations: 4 kB / 444.6 MB, free: 9.312 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005861/0.3017, allocations: 369.2 kB / 445 MB, free: 8.898 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.364e-06/0.3017, allocations: 0 / 445 MB, free: 8.898 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002199/0.3039, allocations: 0.7168 MB / 445.7 MB, free: 8.164 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.304, allocations: 166.2 kB / 445.8 MB, free: 7.965 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006384/0.3047, allocations: 497.8 kB / 446.3 MB, free: 7.473 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 5.698e-05/0.3047, allocations: 37.7 kB / 446.4 MB, free: 7.43 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002291/0.305, allocations: 256.7 kB / 446.6 MB, free: 7.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.3051, allocations: 131 kB / 446.7 MB, free: 7.043 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.3052, allocations: 74.14 kB / 446.8 MB, free: 6.965 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002031/0.3054, allocations: 362.7 kB / 447.2 MB, free: 6.602 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002803/0.3057, allocations: 124.8 kB / 447.3 MB, free: 6.48 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004412/0.3061, allocations: 337 kB / 447.6 MB, free: 6.09 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000539/0.3067, allocations: 281.1 kB / 447.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.3067, allocations: 0 / 447.9 MB, free: 5.805 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009329/0.3076, allocations: 481 kB / 448.4 MB, free: 5.316 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.809e-05/0.3076, allocations: 7.938 kB / 448.4 MB, free: 5.309 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.3076, allocations: 4.094 kB / 448.4 MB, free: 5.305 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005546/0.3082, allocations: 151.3 kB / 448.5 MB, free: 5.145 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002311/0.3084, allocations: 51.84 kB / 448.6 MB, free: 5.094 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005836/0.3143, allocations: 6.126 MB / 454.7 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004582/0.3147, allocations: 51.97 kB / 454.8 MB, free: 14.52 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.408e-05/0.3148, allocations: 16 kB / 454.8 MB, free: 14.5 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.000344/0.3151, allocations: 195.3 kB / 455 MB, free: 14.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.23e-05/0.3152, allocations: 51.67 kB / 455 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.3163, allocations: 0.4931 MB / 455.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.113e-06/0.3163, allocations: 11.94 kB / 455.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.894e-06/0.3163, allocations: 0 / 455.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.3163, allocations: 3.984 kB / 455.5 MB, free: 13.73 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004974/0.3168, allocations: 353 kB / 455.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.3168, allocations: 0 / 455.9 MB, free: 13.35 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001428/0.317, allocations: 23.98 kB / 455.9 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004736/0.3174, allocations: 163.4 kB / 456 MB, free: 13.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.926e-05/0.3175, allocations: 11.94 kB / 456.1 MB, free: 13.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005549/0.323, allocations: 5.836 MB / 461.9 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.323, allocations: 0 / 461.9 MB, free: 6.902 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001133/0.3241, allocations: 0.5112 MB / 462.4 MB, free: 6.359 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002104/0.3244, allocations: 79.56 kB / 462.5 MB, free: 6.281 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.109e-05/0.3244, allocations: 8 kB / 462.5 MB, free: 6.273 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000286/0.3247, allocations: 32.03 kB / 462.5 MB, free: 6.242 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001444/0.3249, allocations: 59.83 kB / 462.6 MB, free: 6.184 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.3249, allocations: 12 kB / 462.6 MB, free: 6.172 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004936/0.3254, allocations: 355.1 kB / 462.9 MB, free: 5.828 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3254, allocations: 0 / 462.9 MB, free: 5.828 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008297/0.3262, allocations: 179.7 kB / 463.1 MB, free: 5.652 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.001995/0.3282, allocations: 448.1 kB / 463.5 MB, free: 5.355 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001548/0.3297, allocations: 0.7872 MB / 464.3 MB, free: 4.516 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.3298, allocations: 0 / 464.3 MB, free: 4.516 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008091/0.3306, allocations: 0.655 MB / 465 MB, free: 3.809 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005554/0.3311, allocations: 116.4 kB / 465.1 MB, free: 3.699 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002088/0.3332, allocations: 0.9795 MB / 466.1 MB, free: 2.691 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.3335, allocations: 267.4 kB / 466.3 MB, free: 2.398 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001783/0.3337, allocations: 47.33 kB / 466.4 MB, free: 2.352 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.463e-05/0.3338, allocations: 35.44 kB / 466.4 MB, free: 2.316 MB / 366.1 MB Notification: Performance of SimCode: time 5.01e-07/0.3338, allocations: 4 kB / 466.4 MB, free: 2.312 MB / 366.1 MB Notification: Performance of Templates: time 0.0175/0.3513, allocations: 9.641 MB / 476.1 MB, free: 8.797 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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.061617683619261]