Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 92.62 kB / 20.96 MB, free: 3.473 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00222/0.00222, allocations: 153.4 kB / 24.26 MB, free: 180 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.466/1.466, allocations: 173.4 MB / 200.8 MB, free: 9.293 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 267.3 MB, free: 6.703 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.19e-05, allocations: 2.312 kB / 267.3 MB, free: 6.699 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.00671/0.006742, allocations: 3.629 MB / 271 MB, free: 3.047 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.003251/0.009994, allocations: 1.371 MB / 272.3 MB, free: 1.668 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003252/0.01032, allocations: 15.94 kB / 272.4 MB, free: 1.652 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001053/0.01137, allocations: 254.7 kB / 272.6 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006909/0.01206, allocations: 266.2 kB / 272.9 MB, free: 1.141 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007134/0.01278, allocations: 299.1 kB / 273.2 MB, free: 0.8477 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000864/0.01364, allocations: 0.7277 MB / 273.9 MB, free: 120 kB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000318/0.01396, allocations: 121.5 kB / 274 MB, free: 15.99 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005668/0.01452, allocations: 406.9 kB / 274.4 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003848/0.01491, allocations: 239.3 kB / 274.6 MB, free: 15.36 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 9.359e-05/0.015, allocations: 52 kB / 274.7 MB, free: 15.31 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002378/0.01524, allocations: 99.89 kB / 274.8 MB, free: 15.21 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001826/0.01542, allocations: 147.5 kB / 274.9 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002807/0.0157, allocations: 199.5 kB / 275.1 MB, free: 14.87 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00102/0.01672, allocations: 0.7242 MB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.01673, allocations: 4 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.01673, allocations: 3.938 kB / 275.8 MB, free: 14.14 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.02e-05/0.01674, allocations: 0 / 275.8 MB, free: 14.14 MB / 266.7 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.001873/0.01861, allocations: 0.8732 MB / 276.7 MB, free: 13.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.349e-05/0.01867, allocations: 12.92 kB / 276.7 MB, free: 13.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001995/0.01887, allocations: 96.56 kB / 276.8 MB, free: 13.12 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006354/0.0195, allocations: 351.5 kB / 277.2 MB, free: 12.75 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.189e-05/0.01954, allocations: 33.38 kB / 277.2 MB, free: 12.72 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/0.01962, allocations: 40.38 kB / 277.2 MB, free: 12.68 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.0208, allocations: 0.5274 MB / 277.8 MB, free: 12.1 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.185e-05/0.02082, allocations: 11.86 kB / 277.8 MB, free: 12.09 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.641e-05/0.02086, allocations: 16 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.02088, allocations: 8 kB / 277.8 MB, free: 12.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006892/0.02157, allocations: 319.8 kB / 278.1 MB, free: 11.76 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002655/0.02422, allocations: 1.494 MB / 279.6 MB, free: 10.18 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/0.02498, allocations: 335.1 kB / 279.9 MB, free: 9.84 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003529/0.02534, allocations: 160.5 kB / 280.1 MB, free: 9.68 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.838e-05/0.02537, allocations: 4 kB / 280.1 MB, free: 9.676 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006055/0.02597, allocations: 369.1 kB / 280.5 MB, free: 9.262 MB / 266.7 MB Notification: Performance of pre-optimization done (n=40): time 4.188e-06/0.02598, allocations: 4 kB / 280.5 MB, free: 9.258 MB / 266.7 MB Notification: Performance of matching and sorting (n=40): time 0.002332/0.02831, allocations: 0.7286 MB / 281.2 MB, free: 8.512 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001391/0.02845, allocations: 158.2 kB / 281.3 MB, free: 8.32 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006853/0.02913, allocations: 489.8 kB / 281.8 MB, free: 7.84 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 5.716e-05/0.02919, allocations: 33.7 kB / 281.9 MB, free: 7.801 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002655/0.02945, allocations: 252.7 kB / 282.1 MB, free: 7.547 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001531/0.02961, allocations: 134.9 kB / 282.2 MB, free: 7.414 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/0.02976, allocations: 78.16 kB / 282.3 MB, free: 7.332 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002409/0.03, allocations: 362.7 kB / 282.7 MB, free: 6.969 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002866/0.03029, allocations: 117 kB / 282.8 MB, free: 6.855 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004871/0.03078, allocations: 349.5 kB / 283.1 MB, free: 6.449 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005573/0.03133, allocations: 269.3 kB / 283.4 MB, free: 6.176 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.03134, allocations: 0 / 283.4 MB, free: 6.176 MB / 266.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000988/0.03233, allocations: 489 kB / 283.9 MB, free: 5.68 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.03234, allocations: 8.094 kB / 283.9 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.03235, allocations: 0 / 283.9 MB, free: 5.672 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005873/0.03294, allocations: 163.3 kB / 284 MB, free: 5.5 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002261/0.03316, allocations: 39.97 kB / 284.1 MB, free: 5.461 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006876/0.04004, allocations: 6.153 MB / 290.2 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004179/0.04046, allocations: 52.12 kB / 290.3 MB, free: 14.86 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.506e-05/0.04049, allocations: 16 kB / 290.3 MB, free: 14.84 MB / 282.7 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.0003217/0.04082, allocations: 183.8 kB / 290.5 MB, free: 14.65 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.04094, allocations: 75.59 kB / 290.5 MB, free: 14.58 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/0.04212, allocations: 0.489 MB / 291 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.091e-06/0.04212, allocations: 4 kB / 291 MB, free: 14.07 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.217e-06/0.04213, allocations: 7.875 kB / 291 MB, free: 14.06 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.643e-06/0.04213, allocations: 3.984 kB / 291 MB, free: 14.05 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005311/0.04266, allocations: 353 kB / 291.4 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.04267, allocations: 0 / 291.4 MB, free: 13.68 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001457/0.04281, allocations: 31.97 kB / 291.4 MB, free: 13.65 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004678/0.04328, allocations: 147.3 kB / 291.6 MB, free: 13.49 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.898e-05/0.04332, allocations: 19.92 kB / 291.6 MB, free: 13.47 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006384/0.0497, allocations: 5.839 MB / 297.4 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.183e-06/0.0497, allocations: 0 / 297.4 MB, free: 7.227 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.05088, allocations: 0.515 MB / 297.9 MB, free: 6.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002012/0.05108, allocations: 87.53 kB / 298 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.695e-05/0.05114, allocations: 12 kB / 298 MB, free: 6.582 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002885/0.05143, allocations: 36.03 kB / 298.1 MB, free: 6.547 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001616/0.0516, allocations: 59.89 kB / 298.1 MB, free: 6.488 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.44e-05/0.05163, allocations: 8 kB / 298.1 MB, free: 6.48 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0004895/0.05212, allocations: 343.1 kB / 298.5 MB, free: 6.145 MB / 282.7 MB Notification: Performance of sort global known variables: time 8e-08/0.05212, allocations: 0 / 298.5 MB, free: 6.145 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0009019/0.05302, allocations: 175.8 kB / 298.6 MB, free: 5.973 MB / 282.7 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.002395/0.05542, allocations: 472.1 kB / 299.1 MB, free: 5.688 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.05681, allocations: 0.7873 MB / 299.9 MB, free: 4.852 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 7.043e-06/0.05681, allocations: 4.188 kB / 299.9 MB, free: 4.848 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008811/0.05769, allocations: 0.6386 MB / 300.5 MB, free: 4.156 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005755/0.05827, allocations: 118.2 kB / 300.7 MB, free: 4.043 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002213/0.06048, allocations: 0.9667 MB / 301.6 MB, free: 3.047 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003238/0.06081, allocations: 262.9 kB / 301.9 MB, free: 2.77 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.0001847/0.06099, allocations: 47.28 kB / 301.9 MB, free: 2.723 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.491e-05/0.06109, allocations: 32.5 kB / 302 MB, free: 2.691 MB / 282.7 MB Notification: Performance of SimCode: time 1.042e-06/0.06109, allocations: 0 / 302 MB, free: 2.691 MB / 282.7 MB Notification: Performance of Templates: time 0.1282/0.1893, allocations: 9.031 MB / 311 MB, free: 44.28 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.828246054938063]