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.001931/0.001931, allocations: 116.5 kB / 18.45 MB, free: 4.562 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.002392/0.002392, allocations: 215.2 kB / 21.42 MB, free: 1.605 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.559/1.559, allocations: 230.6 MB / 254.8 MB, free: 14.9 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.001611/0.001611, allocations: 55.92 kB / 374.2 MB, free: 9.664 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1106/0.1123, allocations: 53.34 MB / 427.5 MB, free: 4.234 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006327/0.1186, allocations: 4.011 MB / 431.5 MB, free: 200 kB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.236/0.3546, allocations: 1.609 MB / 433.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003947/0.355, allocations: 17.45 kB / 433.1 MB, free: 7.988 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007356/0.3557, allocations: 246.3 kB / 433.4 MB, free: 7.977 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006873/0.3564, allocations: 299.1 kB / 433.7 MB, free: 7.879 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006614/0.3571, allocations: 270.7 kB / 433.9 MB, free: 7.852 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006954/0.3578, allocations: 0.7184 MB / 434.7 MB, free: 7.707 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002439/0.358, allocations: 127.4 kB / 434.8 MB, free: 7.691 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004275/0.3584, allocations: 292.6 kB / 435.1 MB, free: 7.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003449/0.3588, allocations: 312.1 kB / 435.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.112e-05/0.3589, allocations: 51.09 kB / 435.4 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002431/0.3591, allocations: 100.1 kB / 435.5 MB, free: 7.566 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001235/0.3592, allocations: 145.5 kB / 435.7 MB, free: 7.539 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002322/0.3595, allocations: 304.8 kB / 436 MB, free: 7.445 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008614/0.3603, allocations: 0.7241 MB / 436.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.3603, allocations: 0 / 436.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3603, allocations: 3.531 kB / 436.7 MB, free: 7.316 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.3603, allocations: 7.875 kB / 436.7 MB, free: 7.309 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.00164/0.362, allocations: 0.958 MB / 437.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.362, allocations: 9.688 kB / 437.7 MB, free: 6.676 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000248/0.3623, allocations: 86.27 kB / 437.7 MB, free: 6.637 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005623/0.3628, allocations: 426.4 kB / 438.2 MB, free: 6.355 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/0.3629, allocations: 30.14 kB / 438.2 MB, free: 6.344 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.767e-05/0.3629, allocations: 42.5 kB / 438.2 MB, free: 6.328 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007585/0.3637, allocations: 445 kB / 438.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.645e-05/0.3637, allocations: 0.5625 kB / 438.7 MB, free: 6.105 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.624e-05/0.3637, allocations: 17.12 kB / 438.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.3638, allocations: 9.438 kB / 438.7 MB, free: 6.094 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006243/0.3644, allocations: 316 kB / 439 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002449/0.3668, allocations: 1.7 MB / 440.7 MB, free: 4.82 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006652/0.3675, allocations: 332.5 kB / 441 MB, free: 4.66 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003025/0.3678, allocations: 158.7 kB / 441.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.16e-05/0.3678, allocations: 4.562 kB / 441.2 MB, free: 4.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004593/0.3683, allocations: 262.7 kB / 441.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.144e-06/0.3683, allocations: 1.188 kB / 441.4 MB, free: 4.438 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002242/0.3705, allocations: 1.014 MB / 442.5 MB, free: 3.785 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.95e-05/0.3706, allocations: 190.5 kB / 442.6 MB, free: 3.562 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007218/0.3713, allocations: 0.5123 MB / 443.2 MB, free: 3.328 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.575e-05/0.3714, allocations: 33.3 kB / 443.2 MB, free: 3.293 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001921/0.3716, allocations: 258.4 kB / 443.4 MB, free: 3.082 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001013/0.3717, allocations: 130.9 kB / 443.6 MB, free: 2.984 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001345/0.3718, allocations: 76.11 kB / 443.6 MB, free: 2.941 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.018e-05/0.3719, allocations: 363.2 kB / 444 MB, free: 2.605 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002558/0.3721, allocations: 125.8 kB / 444.1 MB, free: 2.559 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.3725, allocations: 208.1 kB / 444.3 MB, free: 2.422 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004589/0.3729, allocations: 273.8 kB / 444.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.027e-06/0.3729, allocations: 1.156 kB / 444.6 MB, free: 2.277 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008749/0.3738, allocations: 474.4 kB / 445.1 MB, free: 2.043 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.3738, allocations: 9.812 kB / 445.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.235e-06/0.3738, allocations: 1.062 kB / 445.1 MB, free: 2.039 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005427/0.3744, allocations: 157.3 kB / 445.2 MB, free: 1.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.3746, allocations: 45.81 kB / 445.3 MB, free: 1.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005799/0.3804, allocations: 6.655 MB / 451.9 MB, free: 11.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000593/0.381, allocations: 56.12 kB / 452 MB, free: 11.46 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.293e-05/0.381, allocations: 11.89 kB / 452 MB, free: 11.46 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.0003427/0.3814, allocations: 189.7 kB / 452.2 MB, free: 11.3 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001267/0.3815, allocations: 58.25 kB / 452.2 MB, free: 11.27 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001417/0.3817, allocations: 66.34 kB / 452.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.3817, allocations: 4.5 kB / 452.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.3817, allocations: 4 kB / 452.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.176e-06/0.3817, allocations: 3.266 kB / 452.3 MB, free: 11.23 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006988/0.3824, allocations: 491.5 kB / 452.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.307e-06/0.3824, allocations: 2.219 kB / 452.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000145/0.3825, allocations: 26 kB / 452.8 MB, free: 10.92 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004768/0.383, allocations: 161.2 kB / 453 MB, free: 10.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.84e-05/0.383, allocations: 9.125 kB / 453 MB, free: 10.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006044/0.3891, allocations: 6.368 MB / 459.3 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.3891, allocations: 1.969 kB / 459.3 MB, free: 4.633 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.3903, allocations: 0.4994 MB / 459.8 MB, free: 4.367 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002808/0.3906, allocations: 162.4 kB / 460 MB, free: 4.223 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.844e-05/0.3907, allocations: 11.84 kB / 460 MB, free: 4.215 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003026/0.391, allocations: 28.83 kB / 460 MB, free: 4.211 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001709/0.3912, allocations: 60.19 kB / 460.1 MB, free: 4.191 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.444e-05/0.3912, allocations: 14.22 kB / 460.1 MB, free: 4.188 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005284/0.3917, allocations: 367.5 kB / 460.5 MB, free: 4.023 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3917, allocations: 1.5 kB / 460.5 MB, free: 4.023 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0009625/0.3927, allocations: 172.1 kB / 460.6 MB, free: 3.988 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,booleanStep1.combiTimeTable.nextTimeEventScaled,IdealThyristor2.off,booleanStep1.combiTimeTable.nextTimeEvent) * 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.001634/0.3943, allocations: 433.3 kB / 461.1 MB, free: 3.816 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001441/0.3958, allocations: 0.7992 MB / 461.9 MB, free: 3.223 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 6.141e-06/0.3958, allocations: 2 kB / 461.9 MB, free: 3.223 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008678/0.3966, allocations: 0.6307 MB / 462.5 MB, free: 2.695 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006687/0.3973, allocations: 119.8 kB / 462.6 MB, free: 2.648 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.3996, allocations: 1.022 MB / 463.6 MB, free: 2.09 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006603/0.4003, allocations: 0.8681 MB / 464.5 MB, free: 1.375 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001261/0.4004, allocations: 33.52 kB / 464.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of SimCode: time 7.21e-07/0.4004, allocations: 0 / 464.5 MB, free: 1.367 MB / 366.1 MB Notification: Performance of Templates: time 0.02188/0.4223, allocations: 14.96 MB / 479.5 MB, free: 10.25 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/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: 9.767581055988558]