Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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.01005/0.01005, allocations: 106 kB / 21.98 MB, free: 5.227 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.002547/0.002547, allocations: 216.4 kB / 25.29 MB, free: 3.203 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.512/1.512, allocations: 230.6 MB / 259 MB, free: 8.031 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-beta.om/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_4.1.0-beta.om_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-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001964/0.001964, allocations: 63.91 kB / 379.8 MB, free: 2.625 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2645/0.2665, allocations: 53.37 MB / 433.2 MB, free: 6.949 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006099/0.2726, allocations: 4.034 MB / 437.2 MB, free: 2.898 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.003339/0.2759, allocations: 1.643 MB / 438.9 MB, free: 1.25 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004345/0.2763, allocations: 11.88 kB / 438.9 MB, free: 1.238 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008822/0.2772, allocations: 258.8 kB / 439.1 MB, free: 0.9844 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007582/0.278, allocations: 302.1 kB / 439.4 MB, free: 0.6875 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007084/0.2787, allocations: 265.7 kB / 439.7 MB, free: 440 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008672/0.2795, allocations: 0.7242 MB / 440.4 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002761/0.2798, allocations: 121.3 kB / 440.5 MB, free: 15.58 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000465/0.2803, allocations: 295 kB / 440.8 MB, free: 15.29 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004022/0.2807, allocations: 310.7 kB / 441.1 MB, free: 14.98 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 8.272e-05/0.2808, allocations: 52 kB / 441.2 MB, free: 14.93 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002409/0.281, allocations: 108 kB / 441.3 MB, free: 14.83 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001678/0.2812, allocations: 143.5 kB / 441.4 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000304/0.2815, allocations: 306.3 kB / 441.7 MB, free: 14.39 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008809/0.2824, allocations: 0.7233 MB / 442.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.2824, allocations: 0 / 442.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.2824, allocations: 0 / 442.4 MB, free: 13.66 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.709e-06/0.2824, allocations: 0 / 442.4 MB, free: 13.66 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.001759/0.2841, allocations: 0.8965 MB / 443.3 MB, free: 12.73 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.2842, allocations: 12.03 kB / 443.3 MB, free: 12.72 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002635/0.2844, allocations: 84.45 kB / 443.4 MB, free: 12.64 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005997/0.285, allocations: 353.3 kB / 443.8 MB, free: 12.27 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.673e-05/0.2851, allocations: 33.38 kB / 443.8 MB, free: 12.23 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.249e-05/0.2852, allocations: 44.11 kB / 443.8 MB, free: 12.19 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008293/0.286, allocations: 441.5 kB / 444.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.446e-05/0.286, allocations: 0 / 444.3 MB, free: 11.73 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.466e-05/0.2861, allocations: 23.94 kB / 444.3 MB, free: 11.71 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.075e-05/0.2861, allocations: 8 kB / 444.3 MB, free: 11.7 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000653/0.2867, allocations: 315.8 kB / 444.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002646/0.2894, allocations: 1.664 MB / 446.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007002/0.2901, allocations: 319.1 kB / 446.6 MB, free: 9.316 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003358/0.2904, allocations: 168.4 kB / 446.7 MB, free: 9.152 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.287e-05/0.2904, allocations: 4 kB / 446.8 MB, free: 9.148 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004903/0.2909, allocations: 262.4 kB / 447 MB, free: 8.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.084e-06/0.2909, allocations: 0 / 447 MB, free: 8.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002148/0.2931, allocations: 0.7051 MB / 447.7 MB, free: 8.141 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001356/0.2932, allocations: 195.8 kB / 447.9 MB, free: 7.906 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006899/0.2939, allocations: 0.498 MB / 448.4 MB, free: 7.402 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.72e-05/0.294, allocations: 37.7 kB / 448.4 MB, free: 7.359 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.2942, allocations: 260.8 kB / 448.7 MB, free: 7.098 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001188/0.2943, allocations: 130.9 kB / 448.8 MB, free: 6.969 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001324/0.2944, allocations: 74.14 kB / 448.9 MB, free: 6.891 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00019/0.2946, allocations: 362.8 kB / 449.2 MB, free: 6.527 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.2949, allocations: 124.8 kB / 449.4 MB, free: 6.406 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000363/0.2953, allocations: 213.3 kB / 449.6 MB, free: 6.164 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005479/0.2958, allocations: 277.1 kB / 449.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2958, allocations: 0 / 449.9 MB, free: 5.883 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008762/0.2967, allocations: 473.1 kB / 450.3 MB, free: 5.402 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2967, allocations: 8 kB / 450.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.2967, allocations: 0 / 450.3 MB, free: 5.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005514/0.2973, allocations: 167.3 kB / 450.5 MB, free: 5.219 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002265/0.2975, allocations: 51.91 kB / 450.5 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006103/0.3036, allocations: 6.237 MB / 456.8 MB, free: 14.48 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004231/0.304, allocations: 51.86 kB / 456.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.854e-05/0.304, allocations: 15.94 kB / 456.8 MB, free: 14.41 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.0003357/0.3044, allocations: 189.5 kB / 457 MB, free: 14.22 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001051/0.3045, allocations: 63.59 kB / 457.1 MB, free: 14.16 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.3056, allocations: 0.4899 MB / 457.6 MB, free: 13.65 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.3056, allocations: 4 kB / 457.6 MB, free: 13.64 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.402e-06/0.3056, allocations: 11.88 kB / 457.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.243e-06/0.3056, allocations: 3.984 kB / 457.6 MB, free: 13.63 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005966/0.3062, allocations: 468.2 kB / 458.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.945e-06/0.3062, allocations: 48 / 458.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001335/0.3063, allocations: 31.97 kB / 458.1 MB, free: 13.1 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000456/0.3068, allocations: 159.3 kB / 458.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.669e-05/0.3068, allocations: 8 kB / 458.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005695/0.3125, allocations: 5.947 MB / 464.2 MB, free: 6.52 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.3125, allocations: 3.938 kB / 464.2 MB, free: 6.516 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001137/0.3136, allocations: 0.4957 MB / 464.7 MB, free: 5.988 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002237/0.3139, allocations: 83.55 kB / 464.8 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.3139, allocations: 15.98 kB / 464.8 MB, free: 5.891 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000276/0.3142, allocations: 27.98 kB / 464.8 MB, free: 5.863 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.3144, allocations: 59.89 kB / 464.9 MB, free: 5.805 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.931e-05/0.3144, allocations: 12 kB / 464.9 MB, free: 5.793 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.000504/0.3149, allocations: 371 kB / 465.3 MB, free: 5.438 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3149, allocations: 0 / 465.3 MB, free: 5.438 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0008526/0.3158, allocations: 183.6 kB / 465.4 MB, free: 5.258 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.00154/0.3173, allocations: 428.8 kB / 465.8 MB, free: 4.988 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001314/0.3186, allocations: 0.7835 MB / 466.6 MB, free: 4.152 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 8.146e-06/0.3186, allocations: 8.188 kB / 466.6 MB, free: 4.145 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008189/0.3194, allocations: 0.6351 MB / 467.3 MB, free: 3.457 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005769/0.32, allocations: 120.6 kB / 467.4 MB, free: 3.344 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.3221, allocations: 1.02 MB / 468.4 MB, free: 2.293 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005246/0.3226, allocations: 0.8711 MB / 469.3 MB, free: 1.395 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001/0.3227, allocations: 31.44 kB / 469.3 MB, free: 1.363 MB / 366.1 MB Notification: Performance of SimCode: time 9.42e-07/0.3227, allocations: 0 / 469.3 MB, free: 1.363 MB / 366.1 MB Notification: Performance of Templates: time 0.01993/0.3427, allocations: 14.96 MB / 484.3 MB, free: 2.43 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_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-beta.om_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.39831102709286]