Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 102.9 kB / 17.16 MB, free: 6.316 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001141/0.001141, allocations: 190 kB / 18.07 MB, free: 5.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.1 MB / 223.9 MB, free: 12.46 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 47.92 kB / 280.1 MB, free: 3.48 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09234/0.09347, allocations: 46.62 MB / 326.7 MB, free: 4.789 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005792/0.09931, allocations: 3.949 MB / 330.6 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002572/0.1019, allocations: 1.341 MB / 332 MB, free: 15.46 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002862/0.1023, allocations: 7.938 kB / 332 MB, free: 15.45 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008541/0.1031, allocations: 223.2 kB / 332.2 MB, free: 15.23 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005207/0.1037, allocations: 230.7 kB / 332.4 MB, free: 15.01 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006329/0.1043, allocations: 231.6 kB / 332.7 MB, free: 14.78 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007442/0.1051, allocations: 0.6851 MB / 333.3 MB, free: 14.09 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003074/0.1054, allocations: 157.4 kB / 333.5 MB, free: 13.93 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003739/0.1058, allocations: 255 kB / 333.7 MB, free: 13.68 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003852/0.1062, allocations: 278.8 kB / 334 MB, free: 13.41 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 7.419e-05/0.1062, allocations: 31.94 kB / 334.1 MB, free: 13.38 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002414/0.1065, allocations: 75.97 kB / 334.1 MB, free: 13.3 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000169/0.1067, allocations: 123.5 kB / 334.2 MB, free: 13.18 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003181/0.107, allocations: 282.3 kB / 334.5 MB, free: 12.91 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006925/0.1077, allocations: 0.6695 MB / 335.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.1077, allocations: 0 / 335.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1077, allocations: 0 / 335.2 MB, free: 12.23 MB / 286.1 MB Notification: Performance of Transformations before backend: time 9.608e-06/0.1077, allocations: 4 kB / 335.2 MB, free: 12.23 MB / 286.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.001915/0.1097, allocations: 0.9375 MB / 336.1 MB, free: 11.23 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.081e-05/0.1097, allocations: 12.03 kB / 336.1 MB, free: 11.22 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001034/0.1098, allocations: 78.7 kB / 336.2 MB, free: 11.14 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.11, allocations: 64.19 kB / 336.3 MB, free: 11.07 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006383/0.1106, allocations: 402.8 kB / 336.7 MB, free: 10.64 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.156e-05/0.1107, allocations: 29.38 kB / 336.7 MB, free: 10.61 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.809e-05/0.1108, allocations: 43.94 kB / 336.7 MB, free: 10.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008407/0.1116, allocations: 445.5 kB / 337.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1116, allocations: 0 / 337.2 MB, free: 10.11 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-05/0.1117, allocations: 16 kB / 337.2 MB, free: 10.1 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.331e-05/0.1117, allocations: 15.98 kB / 337.2 MB, free: 10.08 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006763/0.1124, allocations: 315.7 kB / 337.5 MB, free: 9.773 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002868/0.1153, allocations: 1.71 MB / 339.2 MB, free: 7.969 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007086/0.116, allocations: 367.1 kB / 339.6 MB, free: 7.602 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003435/0.1164, allocations: 192.5 kB / 339.8 MB, free: 7.41 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.414e-05/0.1164, allocations: 4 kB / 339.8 MB, free: 7.406 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005111/0.1169, allocations: 258.4 kB / 340 MB, free: 7.129 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 2.585e-06/0.117, allocations: 0 / 340 MB, free: 7.129 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002312/0.1193, allocations: 1.013 MB / 341 MB, free: 6.023 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001275/0.1194, allocations: 187.9 kB / 341.2 MB, free: 5.797 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006484/0.1201, allocations: 0.494 MB / 341.7 MB, free: 5.285 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 4.386e-05/0.1201, allocations: 41.69 kB / 341.8 MB, free: 5.238 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002227/0.1204, allocations: 252.4 kB / 342 MB, free: 4.988 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001052/0.1205, allocations: 122.3 kB / 342.1 MB, free: 4.867 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.1206, allocations: 82.03 kB / 342.2 MB, free: 4.781 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1208, allocations: 362.8 kB / 342.6 MB, free: 4.418 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002539/0.1211, allocations: 116.8 kB / 342.7 MB, free: 4.301 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003687/0.1214, allocations: 213.2 kB / 342.9 MB, free: 4.059 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005064/0.1219, allocations: 273.3 kB / 343.2 MB, free: 3.781 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.122, allocations: 0 / 343.2 MB, free: 3.781 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009063/0.1229, allocations: 480.9 kB / 343.6 MB, free: 3.293 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.1229, allocations: 11.94 kB / 343.6 MB, free: 3.281 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.1229, allocations: 0 / 343.6 MB, free: 3.281 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005714/0.1235, allocations: 151.3 kB / 343.8 MB, free: 3.121 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/0.1237, allocations: 51.91 kB / 343.8 MB, free: 3.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005382/0.1291, allocations: 5.958 MB / 349.8 MB, free: 12.58 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004648/0.1296, allocations: 47.61 kB / 349.8 MB, free: 12.54 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.746e-05/0.1297, allocations: 19.98 kB / 349.9 MB, free: 12.52 MB / 302.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.0003799/0.1301, allocations: 192.1 kB / 350 MB, free: 12.32 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001156/0.1302, allocations: 55.28 kB / 350.1 MB, free: 12.26 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.1303, allocations: 56.77 kB / 350.2 MB, free: 12.21 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.1303, allocations: 4 kB / 350.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.1304, allocations: 0 / 350.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.1304, allocations: 3.984 kB / 350.2 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006268/0.131, allocations: 493.1 kB / 350.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/0.131, allocations: 0 / 350.6 MB, free: 11.67 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001418/0.1312, allocations: 35.84 kB / 350.7 MB, free: 11.63 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004909/0.1317, allocations: 159.5 kB / 350.8 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.179e-05/0.1317, allocations: 11.98 kB / 350.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004769/0.1365, allocations: 5.796 MB / 356.6 MB, free: 5.117 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.1365, allocations: 4.031 kB / 356.6 MB, free: 5.113 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009591/0.1375, allocations: 0.5085 MB / 357.2 MB, free: 4.574 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001701/0.1377, allocations: 152.4 kB / 357.3 MB, free: 4.406 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.815e-05/0.1377, allocations: 15.98 kB / 357.3 MB, free: 4.391 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002643/0.138, allocations: 27.98 kB / 357.3 MB, free: 4.363 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001355/0.1382, allocations: 51.91 kB / 357.4 MB, free: 4.312 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.771e-05/0.1382, allocations: 12 kB / 357.4 MB, free: 4.301 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004108/0.1386, allocations: 363.1 kB / 357.8 MB, free: 3.949 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1386, allocations: 0 / 357.8 MB, free: 3.949 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007634/0.1394, allocations: 167.7 kB / 357.9 MB, free: 3.785 MB / 302.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.002072/0.1415, allocations: 1.38 MB / 359.3 MB, free: 2.379 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001165/0.1426, allocations: 0.7916 MB / 360.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1427, allocations: 0 / 360.1 MB, free: 1.535 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007001/0.1434, allocations: 0.6549 MB / 360.8 MB, free: 0.8281 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006053/0.144, allocations: 117.7 kB / 360.9 MB, free: 0.7148 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006315/0.1503, allocations: 4.523 MB / 365.4 MB, free: 12.06 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004872/0.1508, allocations: 0.8631 MB / 366.3 MB, free: 11.18 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000247/0.1511, allocations: 48.16 kB / 366.3 MB, free: 11.13 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002209/0.1513, allocations: 175.4 kB / 366.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of SimCode: time 1.293e-06/0.1513, allocations: 0 / 366.5 MB, free: 10.96 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1712/0.3225, allocations: 13.25 MB / 379.7 MB, free: 52.39 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000155/0.3227, allocations: 288.4 kB / 380 MB, free: 52.02 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.13/2.453, allocations: 0 / 380 MB, free: 52.02 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors_fmu --startTime=0 --stopTime=6 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Analog_Examples_CharacteristicThyristors.fmu > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches