Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.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: translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") translateModel(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|inductor.i|thyristor_v4_1.vControl",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 99.39 kB / 18.35 MB, free: 4.648 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.001264/0.001264, allocations: 192 kB / 19.29 MB, free: 3.715 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.561/1.561, allocations: 205.1 MB / 225.2 MB, free: 12.27 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.001748/0.001748, allocations: 51.92 kB / 282.1 MB, free: 2.5 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1178, allocations: 46.62 MB / 328.7 MB, free: 3.805 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest): time 0.005076/0.123, allocations: 2.711 MB / 331.4 MB, free: 1.07 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001737/0.1248, allocations: 0.7371 MB / 332.2 MB, free: 332 kB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001827/0.125, allocations: 11.88 kB / 332.2 MB, free: 320 kB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002084/0.1253, allocations: 39.62 kB / 332.2 MB, free: 280 kB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.1255, allocations: 87.2 kB / 332.3 MB, free: 192 kB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003708/0.1258, allocations: 103.8 kB / 332.4 MB, free: 88 kB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.000475/0.1263, allocations: 378.7 kB / 332.8 MB, free: 15.71 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002103/0.1265, allocations: 84.56 kB / 332.9 MB, free: 15.64 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002302/0.1268, allocations: 151.5 kB / 333 MB, free: 15.49 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002209/0.127, allocations: 171.3 kB / 333.2 MB, free: 15.32 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 5.533e-05/0.1271, allocations: 32 kB / 333.2 MB, free: 15.29 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.903e-05/0.1271, allocations: 32 kB / 333.2 MB, free: 15.26 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 8.697e-05/0.1272, allocations: 71.75 kB / 333.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001508/0.1274, allocations: 163.2 kB / 333.5 MB, free: 15.03 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00037/0.1278, allocations: 358.8 kB / 333.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1278, allocations: 0 / 333.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.215e-06/0.1278, allocations: 0 / 333.8 MB, free: 14.68 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.362e-06/0.1278, allocations: 0 / 333.8 MB, free: 14.68 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001633/0.1294, allocations: 0.6647 MB / 334.5 MB, free: 13.96 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.256e-05/0.1295, allocations: 11.89 kB / 334.5 MB, free: 13.95 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.306e-05/0.1296, allocations: 32.56 kB / 334.5 MB, free: 13.91 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005095/0.1301, allocations: 272.5 kB / 334.8 MB, free: 13.61 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.585e-05/0.1302, allocations: 24.75 kB / 334.8 MB, free: 13.58 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.631e-05/0.1302, allocations: 20.38 kB / 334.8 MB, free: 13.56 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007758/0.131, allocations: 310 kB / 335.1 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.131, allocations: 0 / 335.1 MB, free: 13.24 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.339e-05/0.1311, allocations: 8 kB / 335.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.448e-06/0.1311, allocations: 4 kB / 335.1 MB, free: 13.23 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009199/0.132, allocations: 297.5 kB / 335.4 MB, free: 12.94 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001861/0.1339, allocations: 0.9686 MB / 336.4 MB, free: 11.91 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002918/0.1368, allocations: 0.4981 MB / 336.9 MB, free: 11.4 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006481/0.1375, allocations: 212.7 kB / 337.1 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.344e-05/0.1375, allocations: 0 / 337.1 MB, free: 11.19 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006318/0.1382, allocations: 241.7 kB / 337.3 MB, free: 10.93 MB / 286.1 MB Notification: Performance of pre-optimization done (n=21): time 2.274e-06/0.1382, allocations: 0 / 337.3 MB, free: 10.93 MB / 286.1 MB Notification: Performance of matching and sorting (n=21): time 0.001571/0.1398, allocations: 461.5 kB / 337.8 MB, free: 10.47 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.598e-05/0.1399, allocations: 106.8 kB / 337.9 MB, free: 10.34 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003101/0.1402, allocations: 233 kB / 338.1 MB, free: 10.11 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.1402, allocations: 29.7 kB / 338.2 MB, free: 10.07 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.1404, allocations: 160.2 kB / 338.3 MB, free: 9.91 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.496e-05/0.1405, allocations: 74.98 kB / 338.4 MB, free: 9.836 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.1406, allocations: 45.94 kB / 338.4 MB, free: 9.785 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001803/0.1408, allocations: 334.8 kB / 338.8 MB, free: 9.449 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004753/0.1412, allocations: 144.4 kB / 338.9 MB, free: 9.309 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004743/0.1417, allocations: 172.2 kB / 339.1 MB, free: 9.129 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009143/0.1427, allocations: 320 kB / 339.4 MB, free: 8.801 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1427, allocations: 0 / 339.4 MB, free: 8.801 MB / 286.1 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00113/0.1438, allocations: 402.8 kB / 339.8 MB, free: 8.395 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.654e-05/0.1439, allocations: 37.64 kB / 339.8 MB, free: 8.352 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.1439, allocations: 3.984 kB / 339.8 MB, free: 8.348 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/0.1439, allocations: 0 / 339.8 MB, free: 8.348 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001786/0.1457, allocations: 243.6 kB / 340.1 MB, free: 8.109 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005069/0.1508, allocations: 3.404 MB / 343.5 MB, free: 4.426 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004333/0.1513, allocations: 59.58 kB / 343.5 MB, free: 4.367 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.161e-05/0.1513, allocations: 8 kB / 343.5 MB, free: 4.359 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 5 (pulseCurrent.signalSource.count,$PRE.pulseCurrent.signalSource.count,pulseCurrent.signalSource.T_start,$PRE.pulseCurrent.signalSource.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001978/0.1515, allocations: 138.5 kB / 343.7 MB, free: 4.215 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.228e-05/0.1516, allocations: 23.88 kB / 343.7 MB, free: 4.191 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.085e-05/0.1516, allocations: 30.17 kB / 343.7 MB, free: 4.164 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.1516, allocations: 4 kB / 343.7 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.1516, allocations: 0 / 343.7 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.1516, allocations: 0 / 343.7 MB, free: 4.16 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001786/0.1534, allocations: 0.9048 MB / 344.6 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.1535, allocations: 0 / 344.6 MB, free: 3.191 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001733/0.1552, allocations: 227.8 kB / 344.8 MB, free: 2.969 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.331e-06/0.1552, allocations: 4 kB / 344.8 MB, free: 2.965 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.732e-05/0.1552, allocations: 7.984 kB / 344.9 MB, free: 2.957 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004781/0.16, allocations: 3.408 MB / 348.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1601, allocations: 0 / 348.3 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/0.1616, allocations: 0.5944 MB / 348.9 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001043/0.1618, allocations: 96.86 kB / 349 MB, free: 14.55 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.824e-05/0.1618, allocations: 11.94 kB / 349 MB, free: 14.54 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003515/0.1622, allocations: 40.02 kB / 349 MB, free: 14.5 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001085/0.1623, allocations: 31.91 kB / 349 MB, free: 14.46 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.1623, allocations: 12 kB / 349 MB, free: 14.45 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0001857/0.1625, allocations: 168.5 kB / 349.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1625, allocations: 0 / 349.2 MB, free: 14.29 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0005136/0.163, allocations: 83.84 kB / 349.3 MB, free: 14.2 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (thyristor_v4_1.vControl,inductor.i) * Number of discrete variables: 3 ($whenCondition1,pulseCurrent.signalSource.T_start,pulseCurrent.signalSource.count) * Number of discrete states: 1 (pulseCurrent.signalSource.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0001561/0.1632, allocations: 111.2 kB / 349.4 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.002607/0.1658, allocations: 0.5302 MB / 349.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.1658, allocations: 0 / 349.9 MB, free: 13.54 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001987/0.1678, allocations: 355.8 kB / 350.3 MB, free: 13.2 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004594/0.1683, allocations: 44.3 kB / 350.3 MB, free: 13.15 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001773/0.1701, allocations: 0.6819 MB / 351 MB, free: 12.43 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003367/0.1704, allocations: 0.7557 MB / 351.8 MB, free: 11.65 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001264/0.1706, allocations: 17.95 kB / 351.8 MB, free: 11.64 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.759e-05/0.1707, allocations: 23.42 kB / 351.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of SimCode: time 9.51e-07/0.1707, allocations: 4 kB / 351.8 MB, free: 11.61 MB / 302.1 MB Notification: Performance of Templates: time 0.008073/0.1787, allocations: 3.75 MB / 355.6 MB, free: 7.863 MB / 302.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.sim & ./Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Analog/Examples/ThyristorBehaviourTest/ThyristorBehaviourTest.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Analog.Examples.ThyristorBehaviourTest.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches