Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00131/0.00131, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001461/0.001461, allocations: 169.2 kB / 24.5 MB, free: 3.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.411/1.411, allocations: 177.2 MB / 204.9 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001615/0.001615, allocations: 51.78 kB / 325.6 MB, free: 272 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09564/0.09725, allocations: 53.33 MB / 378.9 MB, free: 15.7 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Analog.Examples.CharacteristicThyristors): time 0.005652/0.1029, allocations: 3.661 MB / 382.6 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.003243/0.1061, allocations: 1.554 MB / 384.1 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003841/0.1065, allocations: 11.94 kB / 384.1 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0008501/0.1074, allocations: 254.7 kB / 384.4 MB, free: 10.2 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007495/0.1081, allocations: 306.2 kB / 384.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006541/0.1088, allocations: 263.3 kB / 384.9 MB, free: 9.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000915/0.1097, allocations: 0.7281 MB / 385.7 MB, free: 8.906 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000295/0.11, allocations: 117.5 kB / 385.8 MB, free: 8.781 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004814/0.1105, allocations: 290.9 kB / 386.1 MB, free: 8.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004207/0.1109, allocations: 278.7 kB / 386.3 MB, free: 8.223 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 9.046e-05/0.111, allocations: 52 kB / 386.4 MB, free: 8.172 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002931/0.1113, allocations: 119.8 kB / 386.5 MB, free: 8.055 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001812/0.1115, allocations: 139.5 kB / 386.6 MB, free: 7.918 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003102/0.1118, allocations: 246.8 kB / 386.9 MB, free: 7.676 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009164/0.1127, allocations: 0.7313 MB / 387.6 MB, free: 6.941 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.1127, allocations: 0 / 387.6 MB, free: 6.941 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.232e-06/0.1127, allocations: 4 kB / 387.6 MB, free: 6.938 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.448e-05/0.1127, allocations: 0 / 387.6 MB, free: 6.938 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.001732/0.1144, allocations: 0.8849 MB / 388.5 MB, free: 6.016 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.1145, allocations: 8.031 kB / 388.5 MB, free: 6.008 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002392/0.1147, allocations: 80.5 kB / 388.6 MB, free: 5.93 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006035/0.1153, allocations: 356.2 kB / 388.9 MB, free: 5.555 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.1154, allocations: 41.38 kB / 389 MB, free: 5.516 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.318e-05/0.1154, allocations: 40.12 kB / 389 MB, free: 5.477 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008608/0.1163, allocations: 0.5268 MB / 389.5 MB, free: 4.898 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.1163, allocations: 7.984 kB / 389.6 MB, free: 4.891 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.329e-05/0.1163, allocations: 20 kB / 389.6 MB, free: 4.871 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.286e-05/0.1164, allocations: 8 kB / 389.6 MB, free: 4.863 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000643/0.117, allocations: 307.8 kB / 389.9 MB, free: 4.566 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002481/0.1195, allocations: 1.498 MB / 391.4 MB, free: 2.984 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006894/0.1202, allocations: 327.8 kB / 391.7 MB, free: 2.656 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003357/0.1205, allocations: 161.4 kB / 391.9 MB, free: 2.496 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.034e-05/0.1205, allocations: 4 kB / 391.9 MB, free: 2.492 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005615/0.1211, allocations: 365.2 kB / 392.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of pre-optimization done (n=40): time 2.023e-06/0.1211, allocations: 4 kB / 392.2 MB, free: 2.078 MB / 350.1 MB Notification: Performance of matching and sorting (n=40): time 0.002176/0.1233, allocations: 0.7169 MB / 392.9 MB, free: 1.344 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001202/0.1234, allocations: 162.2 kB / 393.1 MB, free: 1.148 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000623/0.124, allocations: 0.4901 MB / 393.6 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 3.763e-05/0.1241, allocations: 33.64 kB / 393.6 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002361/0.1243, allocations: 268.7 kB / 393.9 MB, free: 356 kB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.1244, allocations: 126.9 kB / 394 MB, free: 228 kB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001309/0.1245, allocations: 74.19 kB / 394.1 MB, free: 148 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.1248, allocations: 358.8 kB / 394.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002687/0.125, allocations: 125 kB / 394.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004299/0.1254, allocations: 341.5 kB / 394.9 MB, free: 15.27 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005119/0.126, allocations: 273.1 kB / 395.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.126, allocations: 0 / 395.1 MB, free: 14.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0008616/0.1268, allocations: 477 kB / 395.6 MB, free: 14.51 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/0.1268, allocations: 10.5 kB / 395.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.1269, allocations: 4 kB / 395.6 MB, free: 14.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005116/0.1274, allocations: 155.3 kB / 395.8 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002225/0.1276, allocations: 43.91 kB / 395.8 MB, free: 14.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00556/0.1331, allocations: 6.126 MB / 401.9 MB, free: 7.762 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003868/0.1335, allocations: 60.06 kB / 402 MB, free: 7.703 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.904e-05/0.1336, allocations: 8 kB / 402 MB, free: 7.695 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.0002631/0.1338, allocations: 195.7 kB / 402.2 MB, free: 7.496 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.107e-05/0.1339, allocations: 51.67 kB / 402.3 MB, free: 7.445 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001094/0.135, allocations: 0.5047 MB / 402.8 MB, free: 6.922 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.135, allocations: 4 kB / 402.8 MB, free: 6.918 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.135, allocations: 4.125 kB / 402.8 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.448e-06/0.135, allocations: 0 / 402.8 MB, free: 6.914 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004675/0.1355, allocations: 353 kB / 403.1 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-06/0.1355, allocations: 0 / 403.1 MB, free: 6.539 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.1356, allocations: 35.91 kB / 403.2 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004383/0.1361, allocations: 147.3 kB / 403.3 MB, free: 6.348 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.071e-05/0.1361, allocations: 19.98 kB / 403.3 MB, free: 6.328 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005246/0.1413, allocations: 5.828 MB / 409.1 MB, free: 92 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.1413, allocations: 4.031 kB / 409.1 MB, free: 88 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001043/0.1424, allocations: 0.5073 MB / 409.7 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.1426, allocations: 87.58 kB / 409.7 MB, free: 15.46 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.1426, allocations: 8.125 kB / 409.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002879/0.1429, allocations: 35.97 kB / 409.8 MB, free: 15.42 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001547/0.1431, allocations: 55.91 kB / 409.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.292e-05/0.1431, allocations: 8.188 kB / 409.8 MB, free: 15.36 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004697/0.1436, allocations: 359 kB / 410.2 MB, free: 15 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1436, allocations: 0 / 410.2 MB, free: 15 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000806/0.1444, allocations: 175.7 kB / 410.4 MB, free: 14.83 MB / 382.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,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.001746/0.1461, allocations: 471.5 kB / 410.8 MB, free: 14.55 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001259/0.1474, allocations: 0.7834 MB / 411.6 MB, free: 13.72 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.1474, allocations: 4.188 kB / 411.6 MB, free: 13.71 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007884/0.1482, allocations: 0.6429 MB / 412.3 MB, free: 13.02 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00054/0.1487, allocations: 109.7 kB / 412.4 MB, free: 12.91 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002123/0.1508, allocations: 0.9868 MB / 413.4 MB, free: 11.9 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1512, allocations: 271.4 kB / 413.6 MB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001784/0.1513, allocations: 51.33 kB / 413.7 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.34e-05/0.1514, allocations: 28.5 kB / 413.7 MB, free: 11.53 MB / 382.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1514, allocations: 0 / 413.7 MB, free: 11.53 MB / 382.1 MB Notification: Performance of Templates: time 0.0193/0.1707, allocations: 9.058 MB / 422.8 MB, free: 2.602 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.sim & ./Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors -abortSlowSimulation -alarm=480 -s ida -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Analog.Examples.CharacteristicThyristors_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Analog/Examples/CharacteristicThyristors/CharacteristicThyristors.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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: 4.6867305639898404]