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.001462/0.001462, allocations: 104.1 kB / 17.58 MB, free: 5.422 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.001338/0.001338, allocations: 191.9 kB / 18.51 MB, free: 4.508 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.851/1.851, allocations: 205.1 MB / 224.4 MB, free: 12.3 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.001506/0.001506, allocations: 52.56 kB / 280.7 MB, free: 3.098 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1117, allocations: 46.64 MB / 327.4 MB, free: 4.387 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.007197/0.1189, allocations: 3.935 MB / 331.3 MB, free: 432 kB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003496/0.1225, allocations: 1.337 MB / 332.7 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007446/0.1233, allocations: 7.938 kB / 332.7 MB, free: 15.07 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001132/0.1244, allocations: 266.8 kB / 332.9 MB, free: 14.8 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001012/0.1255, allocations: 246.4 kB / 333.2 MB, free: 14.56 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009873/0.1265, allocations: 263.4 kB / 333.4 MB, free: 14.3 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001357/0.1278, allocations: 0.7086 MB / 334.1 MB, free: 13.59 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004274/0.1283, allocations: 165.1 kB / 334.3 MB, free: 13.43 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006792/0.129, allocations: 291 kB / 334.6 MB, free: 13.14 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007141/0.1297, allocations: 294.8 kB / 334.9 MB, free: 12.85 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002017/0.1299, allocations: 48 kB / 334.9 MB, free: 12.8 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004522/0.1304, allocations: 99.84 kB / 335 MB, free: 12.71 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002498/0.1306, allocations: 139.5 kB / 335.1 MB, free: 12.57 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006041/0.1312, allocations: 306.4 kB / 335.4 MB, free: 12.27 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001258/0.1325, allocations: 0.6929 MB / 336.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.1325, allocations: 0 / 336.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.1325, allocations: 0 / 336.1 MB, free: 11.57 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.1326, allocations: 0 / 336.1 MB, free: 11.57 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.00191/0.1345, allocations: 0.9413 MB / 337.1 MB, free: 10.57 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.435e-05/0.1345, allocations: 8.031 kB / 337.1 MB, free: 10.57 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.1347, allocations: 78.72 kB / 337.2 MB, free: 10.48 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001336/0.1348, allocations: 64.19 kB / 337.2 MB, free: 10.42 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005906/0.1354, allocations: 414.7 kB / 337.6 MB, free: 9.973 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.1354, allocations: 33.38 kB / 337.7 MB, free: 9.941 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.837e-05/0.1355, allocations: 43.94 kB / 337.7 MB, free: 9.898 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007813/0.1363, allocations: 437.5 kB / 338.1 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.1363, allocations: 0 / 338.1 MB, free: 9.445 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.409e-05/0.1364, allocations: 20 kB / 338.1 MB, free: 9.426 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.42e-05/0.1364, allocations: 12 kB / 338.2 MB, free: 9.414 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006093/0.137, allocations: 311.8 kB / 338.5 MB, free: 9.109 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002426/0.1394, allocations: 1.71 MB / 340.2 MB, free: 7.305 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007084/0.1402, allocations: 366.9 kB / 340.5 MB, free: 6.938 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003247/0.1405, allocations: 184.6 kB / 340.7 MB, free: 6.754 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.915e-05/0.1406, allocations: 8 kB / 340.7 MB, free: 6.746 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004238/0.141, allocations: 258.4 kB / 341 MB, free: 6.469 MB / 286.1 MB Notification: Performance of pre-optimization done (n=40): time 1.573e-06/0.141, allocations: 0 / 341 MB, free: 6.469 MB / 286.1 MB Notification: Performance of matching and sorting (n=40): time 0.002146/0.1431, allocations: 1.017 MB / 342 MB, free: 5.359 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.1433, allocations: 191.9 kB / 342.2 MB, free: 5.129 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005737/0.1439, allocations: 0.494 MB / 342.7 MB, free: 4.621 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.801e-05/0.1439, allocations: 33.7 kB / 342.7 MB, free: 4.582 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002172/0.1441, allocations: 264.3 kB / 343 MB, free: 4.32 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001055/0.1442, allocations: 122.3 kB / 343.1 MB, free: 4.199 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001343/0.1444, allocations: 82.03 kB / 343.2 MB, free: 4.113 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001761/0.1446, allocations: 358.8 kB / 343.5 MB, free: 3.754 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002479/0.1448, allocations: 120.8 kB / 343.6 MB, free: 3.633 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000326/0.1452, allocations: 217.2 kB / 343.8 MB, free: 3.387 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000487/0.1457, allocations: 265.4 kB / 344.1 MB, free: 3.117 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1457, allocations: 0 / 344.1 MB, free: 3.117 MB / 286.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008655/0.1465, allocations: 476.7 kB / 344.6 MB, free: 2.633 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.565e-05/0.1466, allocations: 12.08 kB / 344.6 MB, free: 2.621 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.1466, allocations: 4 kB / 344.6 MB, free: 2.617 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005492/0.1471, allocations: 155.4 kB / 344.7 MB, free: 2.453 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002279/0.1474, allocations: 51.78 kB / 344.8 MB, free: 2.402 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00524/0.1526, allocations: 6.651 MB / 351.4 MB, free: 11.2 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005278/0.1532, allocations: 59.59 kB / 351.5 MB, free: 11.14 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.845e-05/0.1532, allocations: 8 kB / 351.5 MB, free: 11.14 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.0003771/0.1536, allocations: 192.1 kB / 351.7 MB, free: 10.94 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001005/0.1537, allocations: 51.38 kB / 351.7 MB, free: 10.89 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.1539, allocations: 64.75 kB / 351.8 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.1539, allocations: 4 kB / 351.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.1539, allocations: 0 / 351.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.26e-06/0.1539, allocations: 0 / 351.8 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000613/0.1545, allocations: 493 kB / 352.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.577e-06/0.1545, allocations: 4 kB / 352.3 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001383/0.1547, allocations: 35.92 kB / 352.3 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004572/0.1552, allocations: 155.3 kB / 352.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.625e-05/0.1552, allocations: 8 kB / 352.5 MB, free: 10.08 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005273/0.1605, allocations: 6.355 MB / 358.8 MB, free: 3.164 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.1605, allocations: 3.938 kB / 358.8 MB, free: 3.16 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.1615, allocations: 0.5008 MB / 359.3 MB, free: 2.629 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.1618, allocations: 168.2 kB / 359.5 MB, free: 2.445 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.778e-05/0.1618, allocations: 8 kB / 359.5 MB, free: 2.438 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002894/0.1621, allocations: 31.97 kB / 359.5 MB, free: 2.406 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001461/0.1623, allocations: 51.92 kB / 359.6 MB, free: 2.355 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.1623, allocations: 16 kB / 359.6 MB, free: 2.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0004393/0.1628, allocations: 359.1 kB / 360 MB, free: 1.988 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1628, allocations: 0 / 360 MB, free: 1.988 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0008996/0.1637, allocations: 171.7 kB / 360.1 MB, free: 1.82 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.002217/0.1659, allocations: 1.368 MB / 361.5 MB, free: 436 kB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001301/0.1672, allocations: 0.8188 MB / 362.3 MB, free: 15.55 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1672, allocations: 4 kB / 362.3 MB, free: 15.55 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007072/0.168, allocations: 0.6511 MB / 363 MB, free: 14.85 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005557/0.1685, allocations: 113.8 kB / 363.1 MB, free: 14.74 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006169/0.1747, allocations: 4.353 MB / 367.4 MB, free: 10.26 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005355/0.1753, allocations: 0.8634 MB / 368.3 MB, free: 9.371 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0002171/0.1755, allocations: 44.17 kB / 368.3 MB, free: 9.328 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002197/0.1757, allocations: 171.4 kB / 368.5 MB, free: 9.16 MB / 318.1 MB Notification: Performance of SimCode: time 1.433e-06/0.1757, allocations: 0 / 368.5 MB, free: 9.16 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2831/0.4588, allocations: 14.13 MB / 382.6 MB, free: 53.67 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.28/12.74, allocations: 7.016 kB / 382.7 MB, free: 53.67 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches