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.0008043/0.0008043, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 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.000785/0.000785, allocations: 156.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 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 0.8805/0.8805, allocations: 177 MB / 204.1 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] 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 1.664e-06/1.664e-06, allocations: 0 / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.359e-05/1.525e-05, allocations: 6.281 kB / 324.5 MB, free: 15.88 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.004036/0.004052, allocations: 3.665 MB / 328.2 MB, free: 12.18 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002486/0.006537, allocations: 1.561 MB / 329.8 MB, free: 10.61 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003158/0.006853, allocations: 19.88 kB / 329.8 MB, free: 10.59 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007357/0.007589, allocations: 254.7 kB / 330 MB, free: 10.34 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005712/0.00816, allocations: 309.9 kB / 330.3 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005828/0.008743, allocations: 267.3 kB / 330.6 MB, free: 9.777 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006995/0.009442, allocations: 0.7626 MB / 331.4 MB, free: 9.012 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002055/0.009648, allocations: 113.5 kB / 331.5 MB, free: 8.902 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004503/0.0101, allocations: 415 kB / 331.9 MB, free: 8.496 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002326/0.01033, allocations: 239.3 kB / 332.1 MB, free: 8.262 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 4.992e-05/0.01038, allocations: 52 kB / 332.2 MB, free: 8.211 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001537/0.01053, allocations: 111.8 kB / 332.3 MB, free: 8.102 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001018/0.01064, allocations: 147.5 kB / 332.4 MB, free: 7.957 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001466/0.01078, allocations: 207.4 kB / 332.6 MB, free: 7.754 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005518/0.01133, allocations: 0.7281 MB / 333.3 MB, free: 7.023 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.01134, allocations: 4 kB / 333.3 MB, free: 7.02 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.334e-06/0.01134, allocations: 8 kB / 333.3 MB, free: 7.012 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.018e-05/0.01135, allocations: 0 / 333.3 MB, free: 7.012 MB / 298.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.001134/0.01249, allocations: 0.8849 MB / 334.2 MB, free: 6.09 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.01252, allocations: 11.98 kB / 334.2 MB, free: 6.078 MB / 298.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.285e-05/0.01259, allocations: 74.72 kB / 334.3 MB, free: 5.996 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001462/0.01273, allocations: 80.5 kB / 334.4 MB, free: 5.918 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003973/0.01313, allocations: 351.6 kB / 334.7 MB, free: 5.547 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.646e-05/0.01316, allocations: 29.38 kB / 334.8 MB, free: 5.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.441e-05/0.0132, allocations: 44.31 kB / 334.8 MB, free: 5.477 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005176/0.01372, allocations: 0.5235 MB / 335.3 MB, free: 4.902 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.067e-05/0.01373, allocations: 4.188 kB / 335.3 MB, free: 4.898 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.144e-05/0.01376, allocations: 24.11 kB / 335.4 MB, free: 4.875 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.455e-06/0.01377, allocations: 8 kB / 335.4 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003867/0.01416, allocations: 311.8 kB / 335.7 MB, free: 4.566 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001483/0.01564, allocations: 1.564 MB / 337.2 MB, free: 2.906 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004253/0.01606, allocations: 327.4 kB / 337.6 MB, free: 2.578 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001982/0.01626, allocations: 171.6 kB / 337.7 MB, free: 2.41 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.23e-05/0.01629, allocations: 4 kB / 337.7 MB, free: 2.406 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003148/0.0166, allocations: 373.1 kB / 338.1 MB, free: 1.988 MB / 298.7 MB Notification: Performance of pre-optimization done (n=40): time 1.412e-06/0.0166, allocations: 0 / 338.1 MB, free: 1.988 MB / 298.7 MB Notification: Performance of matching and sorting (n=40): time 0.00114/0.01774, allocations: 0.7198 MB / 338.8 MB, free: 1.246 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.903e-05/0.01781, allocations: 162.2 kB / 339 MB, free: 1.051 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003971/0.01821, allocations: 0.5057 MB / 339.5 MB, free: 0.5352 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 2.754e-05/0.01824, allocations: 41.69 kB / 339.5 MB, free: 500 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/0.01837, allocations: 256.8 kB / 339.8 MB, free: 240 kB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.52e-05/0.01844, allocations: 126.9 kB / 339.9 MB, free: 112 kB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.53e-05/0.01852, allocations: 82.19 kB / 340 MB, free: 24 kB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001114/0.01864, allocations: 362.7 kB / 340.3 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001616/0.0188, allocations: 128.9 kB / 340.5 MB, free: 15.53 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.01904, allocations: 341.5 kB / 340.8 MB, free: 15.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000307/0.01935, allocations: 273.4 kB / 341.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01935, allocations: 0 / 341.1 MB, free: 14.86 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0005051/0.01986, allocations: 485 kB / 341.5 MB, free: 14.37 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/0.01987, allocations: 4 kB / 341.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.279e-06/0.01988, allocations: 4 kB / 341.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003136/0.02019, allocations: 159.3 kB / 341.7 MB, free: 14.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.0203, allocations: 47.91 kB / 341.7 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003099/0.0234, allocations: 6.191 MB / 347.9 MB, free: 7.504 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.02358, allocations: 59.95 kB / 348 MB, free: 7.445 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.0236, allocations: 16 kB / 348 MB, free: 7.43 MB / 314.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.0001628/0.02376, allocations: 189.1 kB / 348.2 MB, free: 7.238 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.97e-05/0.02381, allocations: 59.73 kB / 348.2 MB, free: 7.18 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000603/0.02441, allocations: 0.4971 MB / 348.7 MB, free: 6.664 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.534e-06/0.02441, allocations: 4 kB / 348.7 MB, free: 6.66 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.014e-06/0.02442, allocations: 3.984 kB / 348.8 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.307e-06/0.02442, allocations: 0 / 348.8 MB, free: 6.656 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003168/0.02474, allocations: 408.4 kB / 349.2 MB, free: 6.215 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.406e-06/0.02474, allocations: 4 kB / 349.2 MB, free: 6.211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.581e-05/0.0248, allocations: 31.86 kB / 349.2 MB, free: 6.18 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002331/0.02504, allocations: 163.5 kB / 349.3 MB, free: 6.008 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.02506, allocations: 4 kB / 349.3 MB, free: 6.004 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003065/0.02812, allocations: 5.915 MB / 355.3 MB, free: 15.63 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.02812, allocations: 3.938 kB / 355.3 MB, free: 15.62 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005898/0.02871, allocations: 0.5073 MB / 355.8 MB, free: 15.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.02882, allocations: 83.69 kB / 355.9 MB, free: 15 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.249e-05/0.02886, allocations: 12 kB / 355.9 MB, free: 14.99 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001247/0.02898, allocations: 27.97 kB / 355.9 MB, free: 14.96 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001384/0.02912, allocations: 59.83 kB / 356 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.008e-05/0.02914, allocations: 19.94 kB / 356 MB, free: 14.89 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002677/0.02941, allocations: 367.1 kB / 356.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 7e-08/0.02941, allocations: 0 / 356.3 MB, free: 14.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005102/0.02992, allocations: 171.8 kB / 356.5 MB, free: 14.36 MB / 330.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.001472/0.03139, allocations: 1.408 MB / 357.9 MB, free: 13.06 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008707/0.03226, allocations: 0.7872 MB / 358.7 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.03226, allocations: 0 / 358.7 MB, free: 12.22 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004673/0.03273, allocations: 0.6427 MB / 359.3 MB, free: 11.53 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003821/0.03311, allocations: 124.7 kB / 359.5 MB, free: 11.41 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004199/0.03731, allocations: 4.305 MB / 363.8 MB, free: 6.984 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.03757, allocations: 263.4 kB / 364 MB, free: 6.699 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001379/0.0377, allocations: 48.17 kB / 364.1 MB, free: 6.648 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001451/0.03785, allocations: 176.4 kB / 364.2 MB, free: 6.473 MB / 330.7 MB Notification: Performance of SimCode: time 7.11e-07/0.03785, allocations: 0 / 364.2 MB, free: 6.473 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03087/0.06872, allocations: 15.5 MB / 379.7 MB, free: 7.105 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.964/8.033, allocations: 15.86 kB / 379.8 MB, free: 7.09 MB / 346.7 MB " [Timeout remaining time 652] (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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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: 9.787498963065445]