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.001536/0.001536, allocations: 111 kB / 21.18 MB, free: 0.6758 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.00159/0.00159, allocations: 210.6 kB / 24.47 MB, free: 3.977 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.463/1.463, allocations: 230.6 MB / 258.2 MB, free: 7.789 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.001558/0.001558, allocations: 47.92 kB / 379 MB, free: 2.461 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2674/0.269, allocations: 53.37 MB / 432.3 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005556/0.2745, allocations: 3.655 MB / 436 MB, free: 3.039 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003146/0.2777, allocations: 1.562 MB / 437.6 MB, free: 1.469 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002767/0.2779, allocations: 15.88 kB / 437.6 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008711/0.2788, allocations: 250.8 kB / 437.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007427/0.2795, allocations: 310.1 kB / 438.1 MB, free: 0.9023 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006516/0.2802, allocations: 266.7 kB / 438.4 MB, free: 0.6445 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007785/0.281, allocations: 0.7203 MB / 439.1 MB, free: 15.92 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002559/0.2812, allocations: 125.4 kB / 439.2 MB, free: 15.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003821/0.2816, allocations: 290.8 kB / 439.5 MB, free: 15.51 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003843/0.282, allocations: 310.7 kB / 439.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.504e-05/0.2821, allocations: 52 kB / 439.9 MB, free: 15.15 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002262/0.2823, allocations: 107.9 kB / 440 MB, free: 15.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002782/0.2826, allocations: 143.5 kB / 440.1 MB, free: 14.91 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002888/0.2829, allocations: 246.8 kB / 440.4 MB, free: 14.66 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008688/0.2837, allocations: 0.7304 MB / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.2837, allocations: 0 / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.362e-06/0.2838, allocations: 0 / 441.1 MB, free: 13.93 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.003e-05/0.2838, allocations: 4 kB / 441.1 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.001791/0.2856, allocations: 0.8965 MB / 442 MB, free: 13 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2856, allocations: 8.031 kB / 442 MB, free: 12.99 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002649/0.2859, allocations: 80.5 kB / 442.1 MB, free: 12.91 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006233/0.2865, allocations: 360.3 kB / 442.4 MB, free: 12.53 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.2865, allocations: 29.38 kB / 442.4 MB, free: 12.5 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.835e-05/0.2866, allocations: 44.11 kB / 442.5 MB, free: 12.46 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008571/0.2874, allocations: 0.5268 MB / 443 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.502e-05/0.2875, allocations: 0 / 443 MB, free: 11.89 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.454e-05/0.2875, allocations: 16 kB / 443 MB, free: 11.87 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.2875, allocations: 8 kB / 443 MB, free: 11.86 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006374/0.2881, allocations: 319.8 kB / 443.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002454/0.2906, allocations: 1.486 MB / 444.8 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000692/0.2913, allocations: 323.1 kB / 445.2 MB, free: 9.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003224/0.2916, allocations: 161.4 kB / 445.3 MB, free: 9.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.905e-05/0.2916, allocations: 7.984 kB / 445.3 MB, free: 9.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005395/0.2922, allocations: 365.2 kB / 445.7 MB, free: 9.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.793e-06/0.2922, allocations: 3.938 kB / 445.7 MB, free: 9.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002243/0.2944, allocations: 0.7129 MB / 446.4 MB, free: 8.348 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001085/0.2945, allocations: 162.2 kB / 446.6 MB, free: 8.152 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005928/0.2951, allocations: 0.4939 MB / 447 MB, free: 7.652 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.278e-05/0.2952, allocations: 37.7 kB / 447.1 MB, free: 7.609 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002145/0.2954, allocations: 260.6 kB / 447.3 MB, free: 7.348 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000113/0.2955, allocations: 127 kB / 447.5 MB, free: 7.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/0.2956, allocations: 74.14 kB / 447.5 MB, free: 7.145 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.2958, allocations: 358.8 kB / 447.9 MB, free: 6.785 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002655/0.2961, allocations: 124.8 kB / 448 MB, free: 6.664 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004126/0.2965, allocations: 344.9 kB / 448.3 MB, free: 6.266 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005287/0.297, allocations: 273.1 kB / 448.6 MB, free: 5.988 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.039e-06/0.297, allocations: 3.984 kB / 448.6 MB, free: 5.984 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008892/0.2979, allocations: 477 kB / 449.1 MB, free: 5.5 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.2979, allocations: 8 kB / 449.1 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.2979, allocations: 0 / 449.1 MB, free: 5.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005489/0.2985, allocations: 163.3 kB / 449.2 MB, free: 5.32 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002222/0.2987, allocations: 39.98 kB / 449.3 MB, free: 5.281 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00553/0.3042, allocations: 6.138 MB / 455.4 MB, free: 14.74 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003679/0.3046, allocations: 51.78 kB / 455.5 MB, free: 14.69 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.32e-05/0.3046, allocations: 12 kB / 455.5 MB, free: 14.68 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.0002788/0.3049, allocations: 191.7 kB / 455.7 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.95e-05/0.305, allocations: 55.66 kB / 455.7 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.3061, allocations: 0.497 MB / 456.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.3061, allocations: 4 kB / 456.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.382e-06/0.3061, allocations: 0 / 456.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.3061, allocations: 3.984 kB / 456.2 MB, free: 13.91 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004567/0.3066, allocations: 353 kB / 456.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.763e-06/0.3066, allocations: 0 / 456.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.3067, allocations: 27.92 kB / 456.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004482/0.3072, allocations: 163.3 kB / 456.8 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.696e-05/0.3072, allocations: 8 kB / 456.8 MB, free: 13.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005206/0.3124, allocations: 5.84 MB / 462.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3124, allocations: 0 / 462.6 MB, free: 7.078 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.3134, allocations: 0.5073 MB / 463.1 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.3136, allocations: 83.69 kB / 463.2 MB, free: 6.457 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.35e-05/0.3137, allocations: 8 kB / 463.2 MB, free: 6.449 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002786/0.3139, allocations: 31.97 kB / 463.2 MB, free: 6.418 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001399/0.3141, allocations: 55.89 kB / 463.3 MB, free: 6.363 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.37e-05/0.3141, allocations: 12 kB / 463.3 MB, free: 6.352 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004329/0.3145, allocations: 359 kB / 463.7 MB, free: 6.004 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3145, allocations: 0 / 463.7 MB, free: 6.004 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007818/0.3153, allocations: 175.7 kB / 463.8 MB, free: 5.832 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.001701/0.317, allocations: 462 kB / 464.3 MB, free: 5.555 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00125/0.3183, allocations: 0.7795 MB / 465.1 MB, free: 4.723 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.94e-06/0.3183, allocations: 4 kB / 465.1 MB, free: 4.719 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007901/0.3191, allocations: 0.6506 MB / 465.7 MB, free: 4.016 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005409/0.3196, allocations: 118.4 kB / 465.8 MB, free: 3.91 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002276/0.3219, allocations: 0.9817 MB / 466.8 MB, free: 2.902 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003336/0.3222, allocations: 267.4 kB / 467.1 MB, free: 2.609 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001921/0.3224, allocations: 47.33 kB / 467.1 MB, free: 2.562 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.605e-05/0.3225, allocations: 35.42 kB / 467.2 MB, free: 2.527 MB / 366.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3225, allocations: 0 / 467.2 MB, free: 2.527 MB / 366.1 MB Notification: Performance of Templates: time 0.0179/0.3404, allocations: 9.744 MB / 476.9 MB, free: 8.918 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 -s gbode -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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/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: 4.798498435004149]