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.001659/0.001659, allocations: 116.5 kB / 18.5 MB, free: 4.434 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.002053/0.002053, allocations: 216.9 kB / 21.47 MB, free: 1.473 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.463/1.463, allocations: 230.2 MB / 254.5 MB, free: 15.26 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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 59.91 kB / 373.4 MB, free: 10.5 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1131/0.1149, allocations: 53.32 MB / 426.7 MB, free: 5.074 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006055/0.121, allocations: 4.011 MB / 430.7 MB, free: 1.039 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.253/0.374, allocations: 1.62 MB / 432.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004761/0.3745, allocations: 11.31 kB / 432.3 MB, free: 7.496 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008325/0.3753, allocations: 252.8 kB / 432.6 MB, free: 7.492 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007592/0.3761, allocations: 304.1 kB / 432.9 MB, free: 7.484 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007318/0.3768, allocations: 263.9 kB / 433.1 MB, free: 7.48 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000706/0.3775, allocations: 0.7278 MB / 433.8 MB, free: 7.383 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002232/0.3777, allocations: 125 kB / 434 MB, free: 7.367 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003338/0.3781, allocations: 282.6 kB / 434.2 MB, free: 7.316 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002939/0.3784, allocations: 311.7 kB / 434.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 7.94e-05/0.3784, allocations: 49.78 kB / 434.6 MB, free: 7.25 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002261/0.3787, allocations: 106.8 kB / 434.7 MB, free: 7.246 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001236/0.3788, allocations: 148.5 kB / 434.8 MB, free: 7.219 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002551/0.3791, allocations: 301.6 kB / 435.1 MB, free: 7.125 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008078/0.3799, allocations: 0.7236 MB / 435.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.3799, allocations: 1.094 kB / 435.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.953e-06/0.3799, allocations: 3.766 kB / 435.9 MB, free: 6.996 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.125e-05/0.3799, allocations: 0 / 435.9 MB, free: 6.996 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.001551/0.3814, allocations: 0.964 MB / 436.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.3815, allocations: 10.16 kB / 436.8 MB, free: 6.359 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.365e-05/0.3816, allocations: 80.47 kB / 436.9 MB, free: 6.32 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002269/0.3818, allocations: 82.48 kB / 437 MB, free: 6.281 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005589/0.3823, allocations: 426.6 kB / 437.4 MB, free: 6.004 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.067e-05/0.3824, allocations: 33.52 kB / 437.5 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.137e-05/0.3824, allocations: 39.09 kB / 437.5 MB, free: 6 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007585/0.3832, allocations: 443.4 kB / 437.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.527e-05/0.3832, allocations: 0 / 437.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.171e-05/0.3832, allocations: 16.16 kB / 437.9 MB, free: 5.906 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.485e-05/0.3833, allocations: 13.66 kB / 438 MB, free: 5.902 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005953/0.3839, allocations: 313.6 kB / 438.3 MB, free: 5.875 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002296/0.3862, allocations: 1.703 MB / 440 MB, free: 4.715 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000638/0.3868, allocations: 325.8 kB / 440.3 MB, free: 4.559 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002931/0.3871, allocations: 158.9 kB / 440.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.3871, allocations: 7.375 kB / 440.4 MB, free: 4.496 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004048/0.3875, allocations: 264.8 kB / 440.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 1.684e-06/0.3875, allocations: 0 / 440.7 MB, free: 4.336 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.001975/0.3895, allocations: 1.014 MB / 441.7 MB, free: 3.688 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.945e-05/0.3896, allocations: 190.2 kB / 441.9 MB, free: 3.465 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00062/0.3902, allocations: 0.5042 MB / 442.4 MB, free: 3.234 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.347e-05/0.3902, allocations: 37.11 kB / 442.4 MB, free: 3.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001573/0.3904, allocations: 258.3 kB / 442.7 MB, free: 2.984 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.966e-05/0.3905, allocations: 128 kB / 442.8 MB, free: 2.887 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.3906, allocations: 76.05 kB / 442.9 MB, free: 2.844 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.3907, allocations: 362.2 kB / 443.2 MB, free: 2.508 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003054/0.391, allocations: 124.8 kB / 443.4 MB, free: 2.461 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.3914, allocations: 215 kB / 443.6 MB, free: 2.32 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004505/0.3918, allocations: 276.8 kB / 443.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3918, allocations: 1.219 kB / 443.9 MB, free: 2.172 MB / 350.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008068/0.3926, allocations: 469.8 kB / 444.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.3926, allocations: 7.172 kB / 444.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.665e-06/0.3926, allocations: 5.469 kB / 444.3 MB, free: 1.938 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004997/0.3931, allocations: 157.6 kB / 444.5 MB, free: 1.867 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002165/0.3934, allocations: 48.39 kB / 444.5 MB, free: 1.859 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005546/0.3989, allocations: 6.65 MB / 451.2 MB, free: 11.39 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004321/0.3993, allocations: 56.39 kB / 451.2 MB, free: 11.36 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.037e-05/0.3994, allocations: 14.5 kB / 451.2 MB, free: 11.36 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.0003156/0.3997, allocations: 190.4 kB / 451.4 MB, free: 11.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001031/0.3998, allocations: 57.75 kB / 451.5 MB, free: 11.17 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001251/0.3999, allocations: 62.92 kB / 451.5 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.943e-06/0.3999, allocations: 7.312 kB / 451.6 MB, free: 11.13 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.3999, allocations: 5.891 kB / 451.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.3999, allocations: 1.406 kB / 451.6 MB, free: 11.12 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007054/0.4006, allocations: 497.2 kB / 452 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.4006, allocations: 0 / 452 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001331/0.4008, allocations: 25.98 kB / 452.1 MB, free: 10.82 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000459/0.4012, allocations: 158.8 kB / 452.2 MB, free: 10.75 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.765e-05/0.4013, allocations: 5.984 kB / 452.2 MB, free: 10.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006304/0.4076, allocations: 6.373 MB / 458.6 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.4076, allocations: 1.188 kB / 458.6 MB, free: 4.531 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001172/0.4087, allocations: 0.4972 MB / 459.1 MB, free: 4.266 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002995/0.409, allocations: 158.7 kB / 459.3 MB, free: 4.125 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.573e-05/0.4091, allocations: 15.16 kB / 459.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002896/0.4094, allocations: 32.12 kB / 459.3 MB, free: 4.105 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001897/0.4096, allocations: 53.77 kB / 459.4 MB, free: 4.094 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/0.4096, allocations: 12.81 kB / 459.4 MB, free: 4.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0005971/0.4102, allocations: 368.8 kB / 459.7 MB, free: 3.926 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4102, allocations: 0 / 459.7 MB, free: 3.926 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.000952/0.4112, allocations: 172.6 kB / 459.9 MB, free: 3.891 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.002928/0.4141, allocations: 1.377 MB / 461.3 MB, free: 3 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001515/0.4156, allocations: 0.7875 MB / 462.1 MB, free: 2.418 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/0.4156, allocations: 5.312 kB / 462.1 MB, free: 2.414 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009085/0.4165, allocations: 0.6352 MB / 462.7 MB, free: 1.883 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00067/0.4172, allocations: 118.2 kB / 462.8 MB, free: 1.836 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00707/0.4243, allocations: 4.296 MB / 467.1 MB, free: 15.42 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006341/0.4249, allocations: 0.859 MB / 468 MB, free: 14.71 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000282/0.4252, allocations: 52.56 kB / 468 MB, free: 14.7 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002513/0.4255, allocations: 173.5 kB / 468.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4255, allocations: 5 kB / 468.2 MB, free: 14.57 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07052/0.496, allocations: 14.62 MB / 482.8 MB, free: 6.449 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.56/13.05, allocations: 0 / 482.8 MB, free: 6.449 MB / 382.1 MB " [Timeout remaining time 647] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors_fmu --startTime=0 --stopTime=6 --stepSize=0.00118765 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 15.775457342155278]