Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001541/0.001541, allocations: 116.1 kB / 18.45 MB, free: 4.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001591/0.001591, allocations: 190.9 kB / 21.4 MB, free: 1.664 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.486/1.486, allocations: 225.6 MB / 249.8 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") translateModel(Modelica.Electrical.Analog.Examples.CharacteristicThyristors,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5052,variableFilter="time|IdealThyristor1.off|IdealThyristor2.off|booleanStep1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00169/0.00169, allocations: 55.91 kB / 366.8 MB, free: 372 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1175/0.1192, allocations: 52.14 MB / 419 MB, free: 12.12 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.006575/0.1258, allocations: 3.981 MB / 422.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003234/0.129, allocations: 1.43 MB / 424.4 MB, free: 6.691 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005582/0.1295, allocations: 8 kB / 424.4 MB, free: 6.684 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.1306, allocations: 250.8 kB / 424.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009442/0.1315, allocations: 258.3 kB / 424.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009228/0.1325, allocations: 294.7 kB / 425.2 MB, free: 5.898 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00117/0.1336, allocations: 0.6968 MB / 425.9 MB, free: 5.199 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003366/0.134, allocations: 132.8 kB / 426 MB, free: 5.062 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006255/0.1346, allocations: 275 kB / 426.3 MB, free: 4.793 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005253/0.1351, allocations: 306.7 kB / 426.6 MB, free: 4.492 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001262/0.1352, allocations: 51.94 kB / 426.6 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003276/0.1356, allocations: 103.9 kB / 426.7 MB, free: 4.34 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001848/0.1358, allocations: 135.6 kB / 426.8 MB, free: 4.207 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004461/0.1362, allocations: 306.4 kB / 427.1 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.1373, allocations: 0.7119 MB / 427.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.1373, allocations: 0 / 427.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1373, allocations: 0 / 427.9 MB, free: 3.191 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.02e-05/0.1373, allocations: 0 / 427.9 MB, free: 3.191 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.002176/0.1395, allocations: 0.9524 MB / 428.8 MB, free: 2.18 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.1396, allocations: 8.031 kB / 428.8 MB, free: 2.172 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.1397, allocations: 68.52 kB / 428.9 MB, free: 2.105 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007279/0.1405, allocations: 427.1 kB / 429.3 MB, free: 1.648 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.152e-05/0.1405, allocations: 33.38 kB / 429.3 MB, free: 1.617 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.428e-05/0.1406, allocations: 48.09 kB / 429.4 MB, free: 1.57 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008671/0.1414, allocations: 433.5 kB / 429.8 MB, free: 1.121 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.666e-05/0.1415, allocations: 8 kB / 429.8 MB, free: 1.113 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.744e-05/0.1415, allocations: 20 kB / 429.8 MB, free: 1.094 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/0.1415, allocations: 8 kB / 429.8 MB, free: 1.086 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006476/0.1422, allocations: 311.7 kB / 430.1 MB, free: 0.7812 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002728/0.1449, allocations: 1.699 MB / 431.8 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007443/0.1456, allocations: 338.8 kB / 432.2 MB, free: 14.64 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003543/0.146, allocations: 160.7 kB / 432.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.724e-05/0.146, allocations: 4 kB / 432.3 MB, free: 14.48 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004758/0.1465, allocations: 258.4 kB / 432.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of pre-optimization done (n=40): time 1.683e-06/0.1465, allocations: 0 / 432.6 MB, free: 14.2 MB / 366.1 MB Notification: Performance of matching and sorting (n=40): time 0.002328/0.1488, allocations: 1.01 MB / 433.6 MB, free: 13.1 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001505/0.149, allocations: 187.9 kB / 433.8 MB, free: 12.87 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008163/0.1498, allocations: 0.4979 MB / 434.3 MB, free: 12.37 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 4.576e-05/0.1498, allocations: 37.7 kB / 434.3 MB, free: 12.32 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002459/0.1501, allocations: 256.8 kB / 434.6 MB, free: 12.07 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002082/0.1503, allocations: 134.9 kB / 434.7 MB, free: 11.93 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001395/0.1504, allocations: 70.14 kB / 434.8 MB, free: 11.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002054/0.1506, allocations: 358.8 kB / 435.1 MB, free: 11.5 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.1509, allocations: 124.8 kB / 435.2 MB, free: 11.38 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003671/0.1513, allocations: 213.3 kB / 435.4 MB, free: 11.13 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005065/0.1518, allocations: 269.3 kB / 435.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.1518, allocations: 4.062 kB / 435.7 MB, free: 10.86 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0009195/0.1527, allocations: 477 kB / 436.2 MB, free: 10.37 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.824e-05/0.1527, allocations: 7.938 kB / 436.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.1527, allocations: 0 / 436.2 MB, free: 10.36 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005501/0.1533, allocations: 171.3 kB / 436.4 MB, free: 10.18 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002108/0.1535, allocations: 43.91 kB / 436.4 MB, free: 10.14 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006466/0.16, allocations: 6.655 MB / 443.1 MB, free: 2.934 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004086/0.1604, allocations: 43.77 kB / 443.1 MB, free: 2.891 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.1604, allocations: 16 kB / 443.1 MB, free: 2.875 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.0003424/0.1608, allocations: 192.4 kB / 443.3 MB, free: 2.68 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.1609, allocations: 59.59 kB / 443.4 MB, free: 2.621 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.1611, allocations: 56.77 kB / 443.4 MB, free: 2.566 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1611, allocations: 4 kB / 443.4 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1611, allocations: 0 / 443.4 MB, free: 2.562 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.173e-06/0.1611, allocations: 7.922 kB / 443.4 MB, free: 2.555 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006852/0.1618, allocations: 493.1 kB / 443.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.788e-06/0.1618, allocations: 0 / 443.9 MB, free: 2.023 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001377/0.1619, allocations: 27.97 kB / 443.9 MB, free: 1.996 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004599/0.1624, allocations: 163.3 kB / 444.1 MB, free: 1.824 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.271e-05/0.1624, allocations: 11.98 kB / 444.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.229/0.3915, allocations: 6.356 MB / 450.5 MB, free: 25.95 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.3915, allocations: 0 / 450.5 MB, free: 25.95 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001002/0.3925, allocations: 0.5005 MB / 451 MB, free: 25.85 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.3927, allocations: 156.9 kB / 451.1 MB, free: 25.75 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.528e-05/0.3927, allocations: 9.844 kB / 451.1 MB, free: 25.75 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002638/0.393, allocations: 29.05 kB / 451.2 MB, free: 25.75 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001503/0.3931, allocations: 65.33 kB / 451.2 MB, free: 25.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.906e-05/0.3932, allocations: 8.906 kB / 451.2 MB, free: 25.75 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004114/0.3936, allocations: 359.5 kB / 451.6 MB, free: 25.66 MB / 366.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3936, allocations: 3.938 kB / 451.6 MB, free: 25.66 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007831/0.3944, allocations: 170.7 kB / 451.7 MB, free: 25.66 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.001533/0.3959, allocations: 440 kB / 452.2 MB, free: 25.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.001018/0.3969, allocations: 0.7784 MB / 453 MB, free: 25.09 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.3969, allocations: 0 / 453 MB, free: 25.09 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005565/0.3975, allocations: 0.6475 MB / 453.6 MB, free: 24.63 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005384/0.398, allocations: 117.4 kB / 453.7 MB, free: 24.61 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001758/0.3998, allocations: 1.012 MB / 454.7 MB, free: 24.18 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003068/0.4001, allocations: 0.8635 MB / 455.6 MB, free: 23.48 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.87e-05/0.4002, allocations: 34.84 kB / 455.6 MB, free: 23.47 MB / 366.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4002, allocations: 1.375 kB / 455.6 MB, free: 23.47 MB / 366.1 MB Notification: Performance of Templates: time 0.01929/0.4195, allocations: 14.69 MB / 470.3 MB, free: 18.84 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_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.495918410015292]